github.com/cloudwan/edgelq-sdk@v1.15.4/alerting/resources/v1/common/specs.pb.fieldpathbuilder.go (about) 1 // Code generated by protoc-gen-goten-object 2 // File: edgelq/alerting/proto/v1/specs.proto 3 // DO NOT EDIT!!! 4 5 package rcommon 6 7 // proto imports 8 import ( 9 api "github.com/cloudwan/edgelq-sdk/common/api" 10 iam_iam_common "github.com/cloudwan/edgelq-sdk/iam/resources/v1/common" 11 iam_organization "github.com/cloudwan/edgelq-sdk/iam/resources/v1/organization" 12 iam_project "github.com/cloudwan/edgelq-sdk/iam/resources/v1/project" 13 logging_bucket "github.com/cloudwan/edgelq-sdk/logging/resources/v1/bucket" 14 logging_common "github.com/cloudwan/edgelq-sdk/logging/resources/v1/common" 15 logging_log "github.com/cloudwan/edgelq-sdk/logging/resources/v1/log" 16 logging_log_descriptor "github.com/cloudwan/edgelq-sdk/logging/resources/v1/log_descriptor" 17 monitoring_common "github.com/cloudwan/edgelq-sdk/monitoring/resources/v4/common" 18 monitoring_metric_descriptor "github.com/cloudwan/edgelq-sdk/monitoring/resources/v4/metric_descriptor" 19 monitoring_monitored_resource_descriptor "github.com/cloudwan/edgelq-sdk/monitoring/resources/v4/monitored_resource_descriptor" 20 monitoring_project "github.com/cloudwan/edgelq-sdk/monitoring/resources/v4/project" 21 monitoring_time_serie "github.com/cloudwan/edgelq-sdk/monitoring/resources/v4/time_serie" 22 meta_common "github.com/cloudwan/goten-sdk/meta-service/resources/v1/common" 23 meta_resource "github.com/cloudwan/goten-sdk/meta-service/resources/v1/resource" 24 meta_service "github.com/cloudwan/goten-sdk/meta-service/resources/v1/service" 25 meta "github.com/cloudwan/goten-sdk/types/meta" 26 multi_region_policy "github.com/cloudwan/goten-sdk/types/multi_region_policy" 27 anypb "google.golang.org/protobuf/types/known/anypb" 28 durationpb "google.golang.org/protobuf/types/known/durationpb" 29 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" 30 structpb "google.golang.org/protobuf/types/known/structpb" 31 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 32 ) 33 34 // make sure we're using proto imports 35 var ( 36 _ = api.LaunchStage(0) 37 _ = &iam_iam_common.PCR{} 38 _ = &iam_organization.Organization{} 39 _ = &iam_project.Project{} 40 _ = &logging_bucket.Bucket{} 41 _ = &logging_common.LabelDescriptor{} 42 _ = &logging_log.Log{} 43 _ = &logging_log_descriptor.LogDescriptor{} 44 _ = &monitoring_common.LabelDescriptor{} 45 _ = &monitoring_metric_descriptor.MetricDescriptor{} 46 _ = &monitoring_monitored_resource_descriptor.MonitoredResourceDescriptor{} 47 _ = &monitoring_project.Project{} 48 _ = &monitoring_time_serie.Point{} 49 _ = &anypb.Any{} 50 _ = &durationpb.Duration{} 51 _ = &fieldmaskpb.FieldMask{} 52 _ = &structpb.Struct{} 53 _ = ×tamppb.Timestamp{} 54 _ = &meta_common.LabelledDomain{} 55 _ = &meta_resource.Resource{} 56 _ = &meta_service.Service{} 57 _ = &meta.Meta{} 58 _ = &multi_region_policy.MultiRegionPolicy{} 59 ) 60 61 type LogCndSpecFieldPathBuilder struct{} 62 63 func NewLogCndSpecFieldPathBuilder() LogCndSpecFieldPathBuilder { 64 return LogCndSpecFieldPathBuilder{} 65 } 66 func (LogCndSpecFieldPathBuilder) Query() LogCndSpecPathSelectorQuery { 67 return LogCndSpecPathSelectorQuery{} 68 } 69 func (LogCndSpecFieldPathBuilder) GroupByLabels() LogCndSpecPathSelectorGroupByLabels { 70 return LogCndSpecPathSelectorGroupByLabels{} 71 } 72 73 type LogCndSpecPathSelectorQuery struct{} 74 75 func (LogCndSpecPathSelectorQuery) FieldPath() *LogCndSpec_FieldTerminalPath { 76 return &LogCndSpec_FieldTerminalPath{selector: LogCndSpec_FieldPathSelectorQuery} 77 } 78 79 func (s LogCndSpecPathSelectorQuery) WithValue(value *LogCndSpec_Query) *LogCndSpec_FieldTerminalPathValue { 80 return s.FieldPath().WithIValue(value).(*LogCndSpec_FieldTerminalPathValue) 81 } 82 83 func (s LogCndSpecPathSelectorQuery) WithArrayOfValues(values []*LogCndSpec_Query) *LogCndSpec_FieldTerminalPathArrayOfValues { 84 return s.FieldPath().WithIArrayOfValues(values).(*LogCndSpec_FieldTerminalPathArrayOfValues) 85 } 86 87 func (LogCndSpecPathSelectorQuery) WithSubPath(subPath LogCndSpecQuery_FieldPath) *LogCndSpec_FieldSubPath { 88 return &LogCndSpec_FieldSubPath{selector: LogCndSpec_FieldPathSelectorQuery, subPath: subPath} 89 } 90 91 func (s LogCndSpecPathSelectorQuery) WithSubValue(subPathValue LogCndSpecQuery_FieldPathValue) *LogCndSpec_FieldSubPathValue { 92 return &LogCndSpec_FieldSubPathValue{LogCndSpec_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 93 } 94 95 func (s LogCndSpecPathSelectorQuery) WithSubArrayOfValues(subPathArrayOfValues LogCndSpecQuery_FieldPathArrayOfValues) *LogCndSpec_FieldSubPathArrayOfValues { 96 return &LogCndSpec_FieldSubPathArrayOfValues{LogCndSpec_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 97 } 98 99 func (s LogCndSpecPathSelectorQuery) WithSubArrayItemValue(subPathArrayItemValue LogCndSpecQuery_FieldPathArrayItemValue) *LogCndSpec_FieldSubPathArrayItemValue { 100 return &LogCndSpec_FieldSubPathArrayItemValue{LogCndSpec_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 101 } 102 103 func (LogCndSpecPathSelectorQuery) Filter() LogCndSpecPathSelectorQueryFilter { 104 return LogCndSpecPathSelectorQueryFilter{} 105 } 106 107 func (LogCndSpecPathSelectorQuery) Trigger() LogCndSpecPathSelectorQueryTrigger { 108 return LogCndSpecPathSelectorQueryTrigger{} 109 } 110 111 func (LogCndSpecPathSelectorQuery) MinDuration() LogCndSpecPathSelectorQueryMinDuration { 112 return LogCndSpecPathSelectorQueryMinDuration{} 113 } 114 115 type LogCndSpecPathSelectorQueryFilter struct{} 116 117 func (LogCndSpecPathSelectorQueryFilter) FieldPath() *LogCndSpec_FieldSubPath { 118 return &LogCndSpec_FieldSubPath{ 119 selector: LogCndSpec_FieldPathSelectorQuery, 120 subPath: NewLogCndSpecQueryFieldPathBuilder().Filter().FieldPath(), 121 } 122 } 123 124 func (s LogCndSpecPathSelectorQueryFilter) WithValue(value *logging_log.Filter) *LogCndSpec_FieldSubPathValue { 125 return s.FieldPath().WithIValue(value).(*LogCndSpec_FieldSubPathValue) 126 } 127 128 func (s LogCndSpecPathSelectorQueryFilter) WithArrayOfValues(values []*logging_log.Filter) *LogCndSpec_FieldSubPathArrayOfValues { 129 return s.FieldPath().WithIArrayOfValues(values).(*LogCndSpec_FieldSubPathArrayOfValues) 130 } 131 132 type LogCndSpecPathSelectorQueryTrigger struct{} 133 134 func (LogCndSpecPathSelectorQueryTrigger) FieldPath() *LogCndSpec_FieldSubPath { 135 return &LogCndSpec_FieldSubPath{ 136 selector: LogCndSpec_FieldPathSelectorQuery, 137 subPath: NewLogCndSpecQueryFieldPathBuilder().Trigger().FieldPath(), 138 } 139 } 140 141 func (s LogCndSpecPathSelectorQueryTrigger) WithValue(value *LogCndSpec_Query_TriggerCnd) *LogCndSpec_FieldSubPathValue { 142 return s.FieldPath().WithIValue(value).(*LogCndSpec_FieldSubPathValue) 143 } 144 145 func (s LogCndSpecPathSelectorQueryTrigger) WithArrayOfValues(values []*LogCndSpec_Query_TriggerCnd) *LogCndSpec_FieldSubPathArrayOfValues { 146 return s.FieldPath().WithIArrayOfValues(values).(*LogCndSpec_FieldSubPathArrayOfValues) 147 } 148 149 type LogCndSpecPathSelectorQueryMinDuration struct{} 150 151 func (LogCndSpecPathSelectorQueryMinDuration) FieldPath() *LogCndSpec_FieldSubPath { 152 return &LogCndSpec_FieldSubPath{ 153 selector: LogCndSpec_FieldPathSelectorQuery, 154 subPath: NewLogCndSpecQueryFieldPathBuilder().MinDuration().FieldPath(), 155 } 156 } 157 158 func (s LogCndSpecPathSelectorQueryMinDuration) WithValue(value *durationpb.Duration) *LogCndSpec_FieldSubPathValue { 159 return s.FieldPath().WithIValue(value).(*LogCndSpec_FieldSubPathValue) 160 } 161 162 func (s LogCndSpecPathSelectorQueryMinDuration) WithArrayOfValues(values []*durationpb.Duration) *LogCndSpec_FieldSubPathArrayOfValues { 163 return s.FieldPath().WithIArrayOfValues(values).(*LogCndSpec_FieldSubPathArrayOfValues) 164 } 165 166 type LogCndSpecPathSelectorGroupByLabels struct{} 167 168 func (LogCndSpecPathSelectorGroupByLabels) FieldPath() *LogCndSpec_FieldTerminalPath { 169 return &LogCndSpec_FieldTerminalPath{selector: LogCndSpec_FieldPathSelectorGroupByLabels} 170 } 171 172 func (s LogCndSpecPathSelectorGroupByLabels) WithValue(value []string) *LogCndSpec_FieldTerminalPathValue { 173 return s.FieldPath().WithIValue(value).(*LogCndSpec_FieldTerminalPathValue) 174 } 175 176 func (s LogCndSpecPathSelectorGroupByLabels) WithArrayOfValues(values [][]string) *LogCndSpec_FieldTerminalPathArrayOfValues { 177 return s.FieldPath().WithIArrayOfValues(values).(*LogCndSpec_FieldTerminalPathArrayOfValues) 178 } 179 180 func (s LogCndSpecPathSelectorGroupByLabels) WithItemValue(value string) *LogCndSpec_FieldTerminalPathArrayItemValue { 181 return s.FieldPath().WithIArrayItemValue(value).(*LogCndSpec_FieldTerminalPathArrayItemValue) 182 } 183 184 type LogCndSpecQueryFieldPathBuilder struct{} 185 186 func NewLogCndSpecQueryFieldPathBuilder() LogCndSpecQueryFieldPathBuilder { 187 return LogCndSpecQueryFieldPathBuilder{} 188 } 189 func (LogCndSpecQueryFieldPathBuilder) Filter() LogCndSpec_QueryPathSelectorFilter { 190 return LogCndSpec_QueryPathSelectorFilter{} 191 } 192 func (LogCndSpecQueryFieldPathBuilder) Trigger() LogCndSpec_QueryPathSelectorTrigger { 193 return LogCndSpec_QueryPathSelectorTrigger{} 194 } 195 func (LogCndSpecQueryFieldPathBuilder) MinDuration() LogCndSpec_QueryPathSelectorMinDuration { 196 return LogCndSpec_QueryPathSelectorMinDuration{} 197 } 198 199 type LogCndSpec_QueryPathSelectorFilter struct{} 200 201 func (LogCndSpec_QueryPathSelectorFilter) FieldPath() *LogCndSpecQuery_FieldTerminalPath { 202 return &LogCndSpecQuery_FieldTerminalPath{selector: LogCndSpecQuery_FieldPathSelectorFilter} 203 } 204 205 func (s LogCndSpec_QueryPathSelectorFilter) WithValue(value *logging_log.Filter) *LogCndSpecQuery_FieldTerminalPathValue { 206 return s.FieldPath().WithIValue(value).(*LogCndSpecQuery_FieldTerminalPathValue) 207 } 208 209 func (s LogCndSpec_QueryPathSelectorFilter) WithArrayOfValues(values []*logging_log.Filter) *LogCndSpecQuery_FieldTerminalPathArrayOfValues { 210 return s.FieldPath().WithIArrayOfValues(values).(*LogCndSpecQuery_FieldTerminalPathArrayOfValues) 211 } 212 213 type LogCndSpec_QueryPathSelectorTrigger struct{} 214 215 func (LogCndSpec_QueryPathSelectorTrigger) FieldPath() *LogCndSpecQuery_FieldTerminalPath { 216 return &LogCndSpecQuery_FieldTerminalPath{selector: LogCndSpecQuery_FieldPathSelectorTrigger} 217 } 218 219 func (s LogCndSpec_QueryPathSelectorTrigger) WithValue(value *LogCndSpec_Query_TriggerCnd) *LogCndSpecQuery_FieldTerminalPathValue { 220 return s.FieldPath().WithIValue(value).(*LogCndSpecQuery_FieldTerminalPathValue) 221 } 222 223 func (s LogCndSpec_QueryPathSelectorTrigger) WithArrayOfValues(values []*LogCndSpec_Query_TriggerCnd) *LogCndSpecQuery_FieldTerminalPathArrayOfValues { 224 return s.FieldPath().WithIArrayOfValues(values).(*LogCndSpecQuery_FieldTerminalPathArrayOfValues) 225 } 226 227 type LogCndSpec_QueryPathSelectorMinDuration struct{} 228 229 func (LogCndSpec_QueryPathSelectorMinDuration) FieldPath() *LogCndSpecQuery_FieldTerminalPath { 230 return &LogCndSpecQuery_FieldTerminalPath{selector: LogCndSpecQuery_FieldPathSelectorMinDuration} 231 } 232 233 func (s LogCndSpec_QueryPathSelectorMinDuration) WithValue(value *durationpb.Duration) *LogCndSpecQuery_FieldTerminalPathValue { 234 return s.FieldPath().WithIValue(value).(*LogCndSpecQuery_FieldTerminalPathValue) 235 } 236 237 func (s LogCndSpec_QueryPathSelectorMinDuration) WithArrayOfValues(values []*durationpb.Duration) *LogCndSpecQuery_FieldTerminalPathArrayOfValues { 238 return s.FieldPath().WithIArrayOfValues(values).(*LogCndSpecQuery_FieldTerminalPathArrayOfValues) 239 } 240 241 type LogCndSpecQueryLabelTriggerFieldPathBuilder struct{} 242 243 func NewLogCndSpecQueryLabelTriggerFieldPathBuilder() LogCndSpecQueryLabelTriggerFieldPathBuilder { 244 return LogCndSpecQueryLabelTriggerFieldPathBuilder{} 245 } 246 func (LogCndSpecQueryLabelTriggerFieldPathBuilder) Key() LogCndSpec_Query_LabelTriggerPathSelectorKey { 247 return LogCndSpec_Query_LabelTriggerPathSelectorKey{} 248 } 249 func (LogCndSpecQueryLabelTriggerFieldPathBuilder) Values() LogCndSpec_Query_LabelTriggerPathSelectorValues { 250 return LogCndSpec_Query_LabelTriggerPathSelectorValues{} 251 } 252 253 type LogCndSpec_Query_LabelTriggerPathSelectorKey struct{} 254 255 func (LogCndSpec_Query_LabelTriggerPathSelectorKey) FieldPath() *LogCndSpecQueryLabelTrigger_FieldTerminalPath { 256 return &LogCndSpecQueryLabelTrigger_FieldTerminalPath{selector: LogCndSpecQueryLabelTrigger_FieldPathSelectorKey} 257 } 258 259 func (s LogCndSpec_Query_LabelTriggerPathSelectorKey) WithValue(value string) *LogCndSpecQueryLabelTrigger_FieldTerminalPathValue { 260 return s.FieldPath().WithIValue(value).(*LogCndSpecQueryLabelTrigger_FieldTerminalPathValue) 261 } 262 263 func (s LogCndSpec_Query_LabelTriggerPathSelectorKey) WithArrayOfValues(values []string) *LogCndSpecQueryLabelTrigger_FieldTerminalPathArrayOfValues { 264 return s.FieldPath().WithIArrayOfValues(values).(*LogCndSpecQueryLabelTrigger_FieldTerminalPathArrayOfValues) 265 } 266 267 type LogCndSpec_Query_LabelTriggerPathSelectorValues struct{} 268 269 func (LogCndSpec_Query_LabelTriggerPathSelectorValues) FieldPath() *LogCndSpecQueryLabelTrigger_FieldTerminalPath { 270 return &LogCndSpecQueryLabelTrigger_FieldTerminalPath{selector: LogCndSpecQueryLabelTrigger_FieldPathSelectorValues} 271 } 272 273 func (s LogCndSpec_Query_LabelTriggerPathSelectorValues) WithValue(value []string) *LogCndSpecQueryLabelTrigger_FieldTerminalPathValue { 274 return s.FieldPath().WithIValue(value).(*LogCndSpecQueryLabelTrigger_FieldTerminalPathValue) 275 } 276 277 func (s LogCndSpec_Query_LabelTriggerPathSelectorValues) WithArrayOfValues(values [][]string) *LogCndSpecQueryLabelTrigger_FieldTerminalPathArrayOfValues { 278 return s.FieldPath().WithIArrayOfValues(values).(*LogCndSpecQueryLabelTrigger_FieldTerminalPathArrayOfValues) 279 } 280 281 func (s LogCndSpec_Query_LabelTriggerPathSelectorValues) WithItemValue(value string) *LogCndSpecQueryLabelTrigger_FieldTerminalPathArrayItemValue { 282 return s.FieldPath().WithIArrayItemValue(value).(*LogCndSpecQueryLabelTrigger_FieldTerminalPathArrayItemValue) 283 } 284 285 type LogCndSpecQueryStringPayloadTriggerFieldPathBuilder struct{} 286 287 func NewLogCndSpecQueryStringPayloadTriggerFieldPathBuilder() LogCndSpecQueryStringPayloadTriggerFieldPathBuilder { 288 return LogCndSpecQueryStringPayloadTriggerFieldPathBuilder{} 289 } 290 func (LogCndSpecQueryStringPayloadTriggerFieldPathBuilder) ObjectSelector() LogCndSpec_Query_StringPayloadTriggerPathSelectorObjectSelector { 291 return LogCndSpec_Query_StringPayloadTriggerPathSelectorObjectSelector{} 292 } 293 func (LogCndSpecQueryStringPayloadTriggerFieldPathBuilder) Regex() LogCndSpec_Query_StringPayloadTriggerPathSelectorRegex { 294 return LogCndSpec_Query_StringPayloadTriggerPathSelectorRegex{} 295 } 296 297 type LogCndSpec_Query_StringPayloadTriggerPathSelectorObjectSelector struct{} 298 299 func (LogCndSpec_Query_StringPayloadTriggerPathSelectorObjectSelector) FieldPath() *LogCndSpecQueryStringPayloadTrigger_FieldTerminalPath { 300 return &LogCndSpecQueryStringPayloadTrigger_FieldTerminalPath{selector: LogCndSpecQueryStringPayloadTrigger_FieldPathSelectorObjectSelector} 301 } 302 303 func (s LogCndSpec_Query_StringPayloadTriggerPathSelectorObjectSelector) WithValue(value string) *LogCndSpecQueryStringPayloadTrigger_FieldTerminalPathValue { 304 return s.FieldPath().WithIValue(value).(*LogCndSpecQueryStringPayloadTrigger_FieldTerminalPathValue) 305 } 306 307 func (s LogCndSpec_Query_StringPayloadTriggerPathSelectorObjectSelector) WithArrayOfValues(values []string) *LogCndSpecQueryStringPayloadTrigger_FieldTerminalPathArrayOfValues { 308 return s.FieldPath().WithIArrayOfValues(values).(*LogCndSpecQueryStringPayloadTrigger_FieldTerminalPathArrayOfValues) 309 } 310 311 type LogCndSpec_Query_StringPayloadTriggerPathSelectorRegex struct{} 312 313 func (LogCndSpec_Query_StringPayloadTriggerPathSelectorRegex) FieldPath() *LogCndSpecQueryStringPayloadTrigger_FieldTerminalPath { 314 return &LogCndSpecQueryStringPayloadTrigger_FieldTerminalPath{selector: LogCndSpecQueryStringPayloadTrigger_FieldPathSelectorRegex} 315 } 316 317 func (s LogCndSpec_Query_StringPayloadTriggerPathSelectorRegex) WithValue(value string) *LogCndSpecQueryStringPayloadTrigger_FieldTerminalPathValue { 318 return s.FieldPath().WithIValue(value).(*LogCndSpecQueryStringPayloadTrigger_FieldTerminalPathValue) 319 } 320 321 func (s LogCndSpec_Query_StringPayloadTriggerPathSelectorRegex) WithArrayOfValues(values []string) *LogCndSpecQueryStringPayloadTrigger_FieldTerminalPathArrayOfValues { 322 return s.FieldPath().WithIArrayOfValues(values).(*LogCndSpecQueryStringPayloadTrigger_FieldTerminalPathArrayOfValues) 323 } 324 325 type LogCndSpecQueryCompositeTriggerFieldPathBuilder struct{} 326 327 func NewLogCndSpecQueryCompositeTriggerFieldPathBuilder() LogCndSpecQueryCompositeTriggerFieldPathBuilder { 328 return LogCndSpecQueryCompositeTriggerFieldPathBuilder{} 329 } 330 func (LogCndSpecQueryCompositeTriggerFieldPathBuilder) Triggers() LogCndSpec_Query_CompositeTriggerPathSelectorTriggers { 331 return LogCndSpec_Query_CompositeTriggerPathSelectorTriggers{} 332 } 333 func (LogCndSpecQueryCompositeTriggerFieldPathBuilder) Operator() LogCndSpec_Query_CompositeTriggerPathSelectorOperator { 334 return LogCndSpec_Query_CompositeTriggerPathSelectorOperator{} 335 } 336 337 type LogCndSpec_Query_CompositeTriggerPathSelectorTriggers struct{} 338 339 func (LogCndSpec_Query_CompositeTriggerPathSelectorTriggers) FieldPath() *LogCndSpecQueryCompositeTrigger_FieldTerminalPath { 340 return &LogCndSpecQueryCompositeTrigger_FieldTerminalPath{selector: LogCndSpecQueryCompositeTrigger_FieldPathSelectorTriggers} 341 } 342 343 func (s LogCndSpec_Query_CompositeTriggerPathSelectorTriggers) WithValue(value []*LogCndSpec_Query_TriggerCnd) *LogCndSpecQueryCompositeTrigger_FieldTerminalPathValue { 344 return s.FieldPath().WithIValue(value).(*LogCndSpecQueryCompositeTrigger_FieldTerminalPathValue) 345 } 346 347 func (s LogCndSpec_Query_CompositeTriggerPathSelectorTriggers) WithArrayOfValues(values [][]*LogCndSpec_Query_TriggerCnd) *LogCndSpecQueryCompositeTrigger_FieldTerminalPathArrayOfValues { 348 return s.FieldPath().WithIArrayOfValues(values).(*LogCndSpecQueryCompositeTrigger_FieldTerminalPathArrayOfValues) 349 } 350 351 func (s LogCndSpec_Query_CompositeTriggerPathSelectorTriggers) WithItemValue(value *LogCndSpec_Query_TriggerCnd) *LogCndSpecQueryCompositeTrigger_FieldTerminalPathArrayItemValue { 352 return s.FieldPath().WithIArrayItemValue(value).(*LogCndSpecQueryCompositeTrigger_FieldTerminalPathArrayItemValue) 353 } 354 355 type LogCndSpec_Query_CompositeTriggerPathSelectorOperator struct{} 356 357 func (LogCndSpec_Query_CompositeTriggerPathSelectorOperator) FieldPath() *LogCndSpecQueryCompositeTrigger_FieldTerminalPath { 358 return &LogCndSpecQueryCompositeTrigger_FieldTerminalPath{selector: LogCndSpecQueryCompositeTrigger_FieldPathSelectorOperator} 359 } 360 361 func (s LogCndSpec_Query_CompositeTriggerPathSelectorOperator) WithValue(value LogCndSpec_Query_CompositeTrigger_Operator) *LogCndSpecQueryCompositeTrigger_FieldTerminalPathValue { 362 return s.FieldPath().WithIValue(value).(*LogCndSpecQueryCompositeTrigger_FieldTerminalPathValue) 363 } 364 365 func (s LogCndSpec_Query_CompositeTriggerPathSelectorOperator) WithArrayOfValues(values []LogCndSpec_Query_CompositeTrigger_Operator) *LogCndSpecQueryCompositeTrigger_FieldTerminalPathArrayOfValues { 366 return s.FieldPath().WithIArrayOfValues(values).(*LogCndSpecQueryCompositeTrigger_FieldTerminalPathArrayOfValues) 367 } 368 369 type TsCndSpecFieldPathBuilder struct{} 370 371 func NewTsCndSpecFieldPathBuilder() TsCndSpecFieldPathBuilder { 372 return TsCndSpecFieldPathBuilder{} 373 } 374 func (TsCndSpecFieldPathBuilder) Queries() TsCndSpecPathSelectorQueries { 375 return TsCndSpecPathSelectorQueries{} 376 } 377 func (TsCndSpecFieldPathBuilder) QueryGroupBy() TsCndSpecPathSelectorQueryGroupBy { 378 return TsCndSpecPathSelectorQueryGroupBy{} 379 } 380 func (TsCndSpecFieldPathBuilder) ThresholdAlerting() TsCndSpecPathSelectorThresholdAlerting { 381 return TsCndSpecPathSelectorThresholdAlerting{} 382 } 383 func (TsCndSpecFieldPathBuilder) AnomalyAlerting() TsCndSpecPathSelectorAnomalyAlerting { 384 return TsCndSpecPathSelectorAnomalyAlerting{} 385 } 386 387 type TsCndSpecPathSelectorQueries struct{} 388 389 func (TsCndSpecPathSelectorQueries) FieldPath() *TsCndSpec_FieldTerminalPath { 390 return &TsCndSpec_FieldTerminalPath{selector: TsCndSpec_FieldPathSelectorQueries} 391 } 392 393 func (s TsCndSpecPathSelectorQueries) WithValue(value []*TsCndSpec_Query) *TsCndSpec_FieldTerminalPathValue { 394 return s.FieldPath().WithIValue(value).(*TsCndSpec_FieldTerminalPathValue) 395 } 396 397 func (s TsCndSpecPathSelectorQueries) WithArrayOfValues(values [][]*TsCndSpec_Query) *TsCndSpec_FieldTerminalPathArrayOfValues { 398 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpec_FieldTerminalPathArrayOfValues) 399 } 400 401 func (s TsCndSpecPathSelectorQueries) WithItemValue(value *TsCndSpec_Query) *TsCndSpec_FieldTerminalPathArrayItemValue { 402 return s.FieldPath().WithIArrayItemValue(value).(*TsCndSpec_FieldTerminalPathArrayItemValue) 403 } 404 func (TsCndSpecPathSelectorQueries) WithSubPath(subPath TsCndSpecQuery_FieldPath) *TsCndSpec_FieldSubPath { 405 return &TsCndSpec_FieldSubPath{selector: TsCndSpec_FieldPathSelectorQueries, subPath: subPath} 406 } 407 408 func (s TsCndSpecPathSelectorQueries) WithSubValue(subPathValue TsCndSpecQuery_FieldPathValue) *TsCndSpec_FieldSubPathValue { 409 return &TsCndSpec_FieldSubPathValue{TsCndSpec_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 410 } 411 412 func (s TsCndSpecPathSelectorQueries) WithSubArrayOfValues(subPathArrayOfValues TsCndSpecQuery_FieldPathArrayOfValues) *TsCndSpec_FieldSubPathArrayOfValues { 413 return &TsCndSpec_FieldSubPathArrayOfValues{TsCndSpec_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 414 } 415 416 func (s TsCndSpecPathSelectorQueries) WithSubArrayItemValue(subPathArrayItemValue TsCndSpecQuery_FieldPathArrayItemValue) *TsCndSpec_FieldSubPathArrayItemValue { 417 return &TsCndSpec_FieldSubPathArrayItemValue{TsCndSpec_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 418 } 419 420 func (TsCndSpecPathSelectorQueries) Name() TsCndSpecPathSelectorQueriesName { 421 return TsCndSpecPathSelectorQueriesName{} 422 } 423 424 func (TsCndSpecPathSelectorQueries) Filter() TsCndSpecPathSelectorQueriesFilter { 425 return TsCndSpecPathSelectorQueriesFilter{} 426 } 427 428 func (TsCndSpecPathSelectorQueries) Aligner() TsCndSpecPathSelectorQueriesAligner { 429 return TsCndSpecPathSelectorQueriesAligner{} 430 } 431 432 func (TsCndSpecPathSelectorQueries) Reducer() TsCndSpecPathSelectorQueriesReducer { 433 return TsCndSpecPathSelectorQueriesReducer{} 434 } 435 436 func (TsCndSpecPathSelectorQueries) MaxValue() TsCndSpecPathSelectorQueriesMaxValue { 437 return TsCndSpecPathSelectorQueriesMaxValue{} 438 } 439 440 type TsCndSpecPathSelectorQueriesName struct{} 441 442 func (TsCndSpecPathSelectorQueriesName) FieldPath() *TsCndSpec_FieldSubPath { 443 return &TsCndSpec_FieldSubPath{ 444 selector: TsCndSpec_FieldPathSelectorQueries, 445 subPath: NewTsCndSpecQueryFieldPathBuilder().Name().FieldPath(), 446 } 447 } 448 449 func (s TsCndSpecPathSelectorQueriesName) WithValue(value string) *TsCndSpec_FieldSubPathValue { 450 return s.FieldPath().WithIValue(value).(*TsCndSpec_FieldSubPathValue) 451 } 452 453 func (s TsCndSpecPathSelectorQueriesName) WithArrayOfValues(values []string) *TsCndSpec_FieldSubPathArrayOfValues { 454 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpec_FieldSubPathArrayOfValues) 455 } 456 457 type TsCndSpecPathSelectorQueriesFilter struct{} 458 459 func (TsCndSpecPathSelectorQueriesFilter) FieldPath() *TsCndSpec_FieldSubPath { 460 return &TsCndSpec_FieldSubPath{ 461 selector: TsCndSpec_FieldPathSelectorQueries, 462 subPath: NewTsCndSpecQueryFieldPathBuilder().Filter().FieldPath(), 463 } 464 } 465 466 func (s TsCndSpecPathSelectorQueriesFilter) WithValue(value *monitoring_time_serie.Filter) *TsCndSpec_FieldSubPathValue { 467 return s.FieldPath().WithIValue(value).(*TsCndSpec_FieldSubPathValue) 468 } 469 470 func (s TsCndSpecPathSelectorQueriesFilter) WithArrayOfValues(values []*monitoring_time_serie.Filter) *TsCndSpec_FieldSubPathArrayOfValues { 471 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpec_FieldSubPathArrayOfValues) 472 } 473 474 type TsCndSpecPathSelectorQueriesAligner struct{} 475 476 func (TsCndSpecPathSelectorQueriesAligner) FieldPath() *TsCndSpec_FieldSubPath { 477 return &TsCndSpec_FieldSubPath{ 478 selector: TsCndSpec_FieldPathSelectorQueries, 479 subPath: NewTsCndSpecQueryFieldPathBuilder().Aligner().FieldPath(), 480 } 481 } 482 483 func (s TsCndSpecPathSelectorQueriesAligner) WithValue(value monitoring_common.Aggregation_Aligner) *TsCndSpec_FieldSubPathValue { 484 return s.FieldPath().WithIValue(value).(*TsCndSpec_FieldSubPathValue) 485 } 486 487 func (s TsCndSpecPathSelectorQueriesAligner) WithArrayOfValues(values []monitoring_common.Aggregation_Aligner) *TsCndSpec_FieldSubPathArrayOfValues { 488 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpec_FieldSubPathArrayOfValues) 489 } 490 491 type TsCndSpecPathSelectorQueriesReducer struct{} 492 493 func (TsCndSpecPathSelectorQueriesReducer) FieldPath() *TsCndSpec_FieldSubPath { 494 return &TsCndSpec_FieldSubPath{ 495 selector: TsCndSpec_FieldPathSelectorQueries, 496 subPath: NewTsCndSpecQueryFieldPathBuilder().Reducer().FieldPath(), 497 } 498 } 499 500 func (s TsCndSpecPathSelectorQueriesReducer) WithValue(value monitoring_common.Aggregation_Reducer) *TsCndSpec_FieldSubPathValue { 501 return s.FieldPath().WithIValue(value).(*TsCndSpec_FieldSubPathValue) 502 } 503 504 func (s TsCndSpecPathSelectorQueriesReducer) WithArrayOfValues(values []monitoring_common.Aggregation_Reducer) *TsCndSpec_FieldSubPathArrayOfValues { 505 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpec_FieldSubPathArrayOfValues) 506 } 507 508 type TsCndSpecPathSelectorQueriesMaxValue struct{} 509 510 func (TsCndSpecPathSelectorQueriesMaxValue) FieldPath() *TsCndSpec_FieldSubPath { 511 return &TsCndSpec_FieldSubPath{ 512 selector: TsCndSpec_FieldPathSelectorQueries, 513 subPath: NewTsCndSpecQueryFieldPathBuilder().MaxValue().FieldPath(), 514 } 515 } 516 517 func (s TsCndSpecPathSelectorQueriesMaxValue) WithValue(value float64) *TsCndSpec_FieldSubPathValue { 518 return s.FieldPath().WithIValue(value).(*TsCndSpec_FieldSubPathValue) 519 } 520 521 func (s TsCndSpecPathSelectorQueriesMaxValue) WithArrayOfValues(values []float64) *TsCndSpec_FieldSubPathArrayOfValues { 522 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpec_FieldSubPathArrayOfValues) 523 } 524 525 type TsCndSpecPathSelectorQueryGroupBy struct{} 526 527 func (TsCndSpecPathSelectorQueryGroupBy) FieldPath() *TsCndSpec_FieldTerminalPath { 528 return &TsCndSpec_FieldTerminalPath{selector: TsCndSpec_FieldPathSelectorQueryGroupBy} 529 } 530 531 func (s TsCndSpecPathSelectorQueryGroupBy) WithValue(value []string) *TsCndSpec_FieldTerminalPathValue { 532 return s.FieldPath().WithIValue(value).(*TsCndSpec_FieldTerminalPathValue) 533 } 534 535 func (s TsCndSpecPathSelectorQueryGroupBy) WithArrayOfValues(values [][]string) *TsCndSpec_FieldTerminalPathArrayOfValues { 536 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpec_FieldTerminalPathArrayOfValues) 537 } 538 539 func (s TsCndSpecPathSelectorQueryGroupBy) WithItemValue(value string) *TsCndSpec_FieldTerminalPathArrayItemValue { 540 return s.FieldPath().WithIArrayItemValue(value).(*TsCndSpec_FieldTerminalPathArrayItemValue) 541 } 542 543 type TsCndSpecPathSelectorThresholdAlerting struct{} 544 545 func (TsCndSpecPathSelectorThresholdAlerting) FieldPath() *TsCndSpec_FieldTerminalPath { 546 return &TsCndSpec_FieldTerminalPath{selector: TsCndSpec_FieldPathSelectorThresholdAlerting} 547 } 548 549 func (s TsCndSpecPathSelectorThresholdAlerting) WithValue(value *TsCndSpec_ThresholdAlertingCfg) *TsCndSpec_FieldTerminalPathValue { 550 return s.FieldPath().WithIValue(value).(*TsCndSpec_FieldTerminalPathValue) 551 } 552 553 func (s TsCndSpecPathSelectorThresholdAlerting) WithArrayOfValues(values []*TsCndSpec_ThresholdAlertingCfg) *TsCndSpec_FieldTerminalPathArrayOfValues { 554 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpec_FieldTerminalPathArrayOfValues) 555 } 556 557 func (TsCndSpecPathSelectorThresholdAlerting) WithSubPath(subPath TsCndSpecThresholdAlertingCfg_FieldPath) *TsCndSpec_FieldSubPath { 558 return &TsCndSpec_FieldSubPath{selector: TsCndSpec_FieldPathSelectorThresholdAlerting, subPath: subPath} 559 } 560 561 func (s TsCndSpecPathSelectorThresholdAlerting) WithSubValue(subPathValue TsCndSpecThresholdAlertingCfg_FieldPathValue) *TsCndSpec_FieldSubPathValue { 562 return &TsCndSpec_FieldSubPathValue{TsCndSpec_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 563 } 564 565 func (s TsCndSpecPathSelectorThresholdAlerting) WithSubArrayOfValues(subPathArrayOfValues TsCndSpecThresholdAlertingCfg_FieldPathArrayOfValues) *TsCndSpec_FieldSubPathArrayOfValues { 566 return &TsCndSpec_FieldSubPathArrayOfValues{TsCndSpec_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 567 } 568 569 func (s TsCndSpecPathSelectorThresholdAlerting) WithSubArrayItemValue(subPathArrayItemValue TsCndSpecThresholdAlertingCfg_FieldPathArrayItemValue) *TsCndSpec_FieldSubPathArrayItemValue { 570 return &TsCndSpec_FieldSubPathArrayItemValue{TsCndSpec_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 571 } 572 573 func (TsCndSpecPathSelectorThresholdAlerting) Operator() TsCndSpecPathSelectorThresholdAlertingOperator { 574 return TsCndSpecPathSelectorThresholdAlertingOperator{} 575 } 576 577 func (TsCndSpecPathSelectorThresholdAlerting) AlignmentPeriod() TsCndSpecPathSelectorThresholdAlertingAlignmentPeriod { 578 return TsCndSpecPathSelectorThresholdAlertingAlignmentPeriod{} 579 } 580 581 func (TsCndSpecPathSelectorThresholdAlerting) RaiseAfter() TsCndSpecPathSelectorThresholdAlertingRaiseAfter { 582 return TsCndSpecPathSelectorThresholdAlertingRaiseAfter{} 583 } 584 585 func (TsCndSpecPathSelectorThresholdAlerting) SilenceAfter() TsCndSpecPathSelectorThresholdAlertingSilenceAfter { 586 return TsCndSpecPathSelectorThresholdAlertingSilenceAfter{} 587 } 588 589 func (TsCndSpecPathSelectorThresholdAlerting) PerQueryThresholds() TsCndSpecPathSelectorThresholdAlertingPerQueryThresholds { 590 return TsCndSpecPathSelectorThresholdAlertingPerQueryThresholds{} 591 } 592 593 func (TsCndSpecPathSelectorThresholdAlerting) AdaptiveThresholdsDetectionPeriod() TsCndSpecPathSelectorThresholdAlertingAdaptiveThresholdsDetectionPeriod { 594 return TsCndSpecPathSelectorThresholdAlertingAdaptiveThresholdsDetectionPeriod{} 595 } 596 597 type TsCndSpecPathSelectorThresholdAlertingOperator struct{} 598 599 func (TsCndSpecPathSelectorThresholdAlertingOperator) FieldPath() *TsCndSpec_FieldSubPath { 600 return &TsCndSpec_FieldSubPath{ 601 selector: TsCndSpec_FieldPathSelectorThresholdAlerting, 602 subPath: NewTsCndSpecThresholdAlertingCfgFieldPathBuilder().Operator().FieldPath(), 603 } 604 } 605 606 func (s TsCndSpecPathSelectorThresholdAlertingOperator) WithValue(value TsCndSpec_ThresholdAlertingCfg_Operator) *TsCndSpec_FieldSubPathValue { 607 return s.FieldPath().WithIValue(value).(*TsCndSpec_FieldSubPathValue) 608 } 609 610 func (s TsCndSpecPathSelectorThresholdAlertingOperator) WithArrayOfValues(values []TsCndSpec_ThresholdAlertingCfg_Operator) *TsCndSpec_FieldSubPathArrayOfValues { 611 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpec_FieldSubPathArrayOfValues) 612 } 613 614 type TsCndSpecPathSelectorThresholdAlertingAlignmentPeriod struct{} 615 616 func (TsCndSpecPathSelectorThresholdAlertingAlignmentPeriod) FieldPath() *TsCndSpec_FieldSubPath { 617 return &TsCndSpec_FieldSubPath{ 618 selector: TsCndSpec_FieldPathSelectorThresholdAlerting, 619 subPath: NewTsCndSpecThresholdAlertingCfgFieldPathBuilder().AlignmentPeriod().FieldPath(), 620 } 621 } 622 623 func (s TsCndSpecPathSelectorThresholdAlertingAlignmentPeriod) WithValue(value *durationpb.Duration) *TsCndSpec_FieldSubPathValue { 624 return s.FieldPath().WithIValue(value).(*TsCndSpec_FieldSubPathValue) 625 } 626 627 func (s TsCndSpecPathSelectorThresholdAlertingAlignmentPeriod) WithArrayOfValues(values []*durationpb.Duration) *TsCndSpec_FieldSubPathArrayOfValues { 628 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpec_FieldSubPathArrayOfValues) 629 } 630 631 type TsCndSpecPathSelectorThresholdAlertingRaiseAfter struct{} 632 633 func (TsCndSpecPathSelectorThresholdAlertingRaiseAfter) FieldPath() *TsCndSpec_FieldSubPath { 634 return &TsCndSpec_FieldSubPath{ 635 selector: TsCndSpec_FieldPathSelectorThresholdAlerting, 636 subPath: NewTsCndSpecThresholdAlertingCfgFieldPathBuilder().RaiseAfter().FieldPath(), 637 } 638 } 639 640 func (s TsCndSpecPathSelectorThresholdAlertingRaiseAfter) WithValue(value *durationpb.Duration) *TsCndSpec_FieldSubPathValue { 641 return s.FieldPath().WithIValue(value).(*TsCndSpec_FieldSubPathValue) 642 } 643 644 func (s TsCndSpecPathSelectorThresholdAlertingRaiseAfter) WithArrayOfValues(values []*durationpb.Duration) *TsCndSpec_FieldSubPathArrayOfValues { 645 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpec_FieldSubPathArrayOfValues) 646 } 647 648 type TsCndSpecPathSelectorThresholdAlertingSilenceAfter struct{} 649 650 func (TsCndSpecPathSelectorThresholdAlertingSilenceAfter) FieldPath() *TsCndSpec_FieldSubPath { 651 return &TsCndSpec_FieldSubPath{ 652 selector: TsCndSpec_FieldPathSelectorThresholdAlerting, 653 subPath: NewTsCndSpecThresholdAlertingCfgFieldPathBuilder().SilenceAfter().FieldPath(), 654 } 655 } 656 657 func (s TsCndSpecPathSelectorThresholdAlertingSilenceAfter) WithValue(value *durationpb.Duration) *TsCndSpec_FieldSubPathValue { 658 return s.FieldPath().WithIValue(value).(*TsCndSpec_FieldSubPathValue) 659 } 660 661 func (s TsCndSpecPathSelectorThresholdAlertingSilenceAfter) WithArrayOfValues(values []*durationpb.Duration) *TsCndSpec_FieldSubPathArrayOfValues { 662 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpec_FieldSubPathArrayOfValues) 663 } 664 665 type TsCndSpecPathSelectorThresholdAlertingPerQueryThresholds struct{} 666 667 func (TsCndSpecPathSelectorThresholdAlertingPerQueryThresholds) FieldPath() *TsCndSpec_FieldSubPath { 668 return &TsCndSpec_FieldSubPath{ 669 selector: TsCndSpec_FieldPathSelectorThresholdAlerting, 670 subPath: NewTsCndSpecThresholdAlertingCfgFieldPathBuilder().PerQueryThresholds().FieldPath(), 671 } 672 } 673 674 func (s TsCndSpecPathSelectorThresholdAlertingPerQueryThresholds) WithValue(value []*TsCndSpec_ThresholdAlertingCfg_AlertingThresholds) *TsCndSpec_FieldSubPathValue { 675 return s.FieldPath().WithIValue(value).(*TsCndSpec_FieldSubPathValue) 676 } 677 678 func (s TsCndSpecPathSelectorThresholdAlertingPerQueryThresholds) WithArrayOfValues(values [][]*TsCndSpec_ThresholdAlertingCfg_AlertingThresholds) *TsCndSpec_FieldSubPathArrayOfValues { 679 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpec_FieldSubPathArrayOfValues) 680 } 681 682 func (s TsCndSpecPathSelectorThresholdAlertingPerQueryThresholds) WithItemValue(value *TsCndSpec_ThresholdAlertingCfg_AlertingThresholds) *TsCndSpec_FieldSubPathArrayItemValue { 683 return s.FieldPath().WithIArrayItemValue(value).(*TsCndSpec_FieldSubPathArrayItemValue) 684 } 685 686 func (TsCndSpecPathSelectorThresholdAlertingPerQueryThresholds) AutoAdaptUpper() TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsAutoAdaptUpper { 687 return TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsAutoAdaptUpper{} 688 } 689 690 func (TsCndSpecPathSelectorThresholdAlertingPerQueryThresholds) AutoAdaptLower() TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsAutoAdaptLower { 691 return TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsAutoAdaptLower{} 692 } 693 694 func (TsCndSpecPathSelectorThresholdAlertingPerQueryThresholds) MaxUpper() TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMaxUpper { 695 return TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMaxUpper{} 696 } 697 698 func (TsCndSpecPathSelectorThresholdAlertingPerQueryThresholds) MaxLower() TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMaxLower { 699 return TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMaxLower{} 700 } 701 702 func (TsCndSpecPathSelectorThresholdAlertingPerQueryThresholds) MinUpper() TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMinUpper { 703 return TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMinUpper{} 704 } 705 706 func (TsCndSpecPathSelectorThresholdAlertingPerQueryThresholds) MinLower() TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMinLower { 707 return TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMinLower{} 708 } 709 710 type TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsAutoAdaptUpper struct{} 711 712 func (TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsAutoAdaptUpper) FieldPath() *TsCndSpec_FieldSubPath { 713 return &TsCndSpec_FieldSubPath{ 714 selector: TsCndSpec_FieldPathSelectorThresholdAlerting, 715 subPath: NewTsCndSpecThresholdAlertingCfgFieldPathBuilder().PerQueryThresholds().AutoAdaptUpper().FieldPath(), 716 } 717 } 718 719 func (s TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsAutoAdaptUpper) WithValue(value bool) *TsCndSpec_FieldSubPathValue { 720 return s.FieldPath().WithIValue(value).(*TsCndSpec_FieldSubPathValue) 721 } 722 723 func (s TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsAutoAdaptUpper) WithArrayOfValues(values []bool) *TsCndSpec_FieldSubPathArrayOfValues { 724 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpec_FieldSubPathArrayOfValues) 725 } 726 727 type TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsAutoAdaptLower struct{} 728 729 func (TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsAutoAdaptLower) FieldPath() *TsCndSpec_FieldSubPath { 730 return &TsCndSpec_FieldSubPath{ 731 selector: TsCndSpec_FieldPathSelectorThresholdAlerting, 732 subPath: NewTsCndSpecThresholdAlertingCfgFieldPathBuilder().PerQueryThresholds().AutoAdaptLower().FieldPath(), 733 } 734 } 735 736 func (s TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsAutoAdaptLower) WithValue(value bool) *TsCndSpec_FieldSubPathValue { 737 return s.FieldPath().WithIValue(value).(*TsCndSpec_FieldSubPathValue) 738 } 739 740 func (s TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsAutoAdaptLower) WithArrayOfValues(values []bool) *TsCndSpec_FieldSubPathArrayOfValues { 741 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpec_FieldSubPathArrayOfValues) 742 } 743 744 type TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMaxUpper struct{} 745 746 func (TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMaxUpper) FieldPath() *TsCndSpec_FieldSubPath { 747 return &TsCndSpec_FieldSubPath{ 748 selector: TsCndSpec_FieldPathSelectorThresholdAlerting, 749 subPath: NewTsCndSpecThresholdAlertingCfgFieldPathBuilder().PerQueryThresholds().MaxUpper().FieldPath(), 750 } 751 } 752 753 func (s TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMaxUpper) WithValue(value *AlertingThreshold) *TsCndSpec_FieldSubPathValue { 754 return s.FieldPath().WithIValue(value).(*TsCndSpec_FieldSubPathValue) 755 } 756 757 func (s TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMaxUpper) WithArrayOfValues(values []*AlertingThreshold) *TsCndSpec_FieldSubPathArrayOfValues { 758 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpec_FieldSubPathArrayOfValues) 759 } 760 761 func (TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMaxUpper) Value() TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMaxUpperValue { 762 return TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMaxUpperValue{} 763 } 764 765 func (TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMaxUpper) IsInclusive() TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMaxUpperIsInclusive { 766 return TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMaxUpperIsInclusive{} 767 } 768 769 type TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMaxUpperValue struct{} 770 771 func (TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMaxUpperValue) FieldPath() *TsCndSpec_FieldSubPath { 772 return &TsCndSpec_FieldSubPath{ 773 selector: TsCndSpec_FieldPathSelectorThresholdAlerting, 774 subPath: NewTsCndSpecThresholdAlertingCfgFieldPathBuilder().PerQueryThresholds().MaxUpper().Value().FieldPath(), 775 } 776 } 777 778 func (s TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMaxUpperValue) WithValue(value float64) *TsCndSpec_FieldSubPathValue { 779 return s.FieldPath().WithIValue(value).(*TsCndSpec_FieldSubPathValue) 780 } 781 782 func (s TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMaxUpperValue) WithArrayOfValues(values []float64) *TsCndSpec_FieldSubPathArrayOfValues { 783 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpec_FieldSubPathArrayOfValues) 784 } 785 786 type TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMaxUpperIsInclusive struct{} 787 788 func (TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMaxUpperIsInclusive) FieldPath() *TsCndSpec_FieldSubPath { 789 return &TsCndSpec_FieldSubPath{ 790 selector: TsCndSpec_FieldPathSelectorThresholdAlerting, 791 subPath: NewTsCndSpecThresholdAlertingCfgFieldPathBuilder().PerQueryThresholds().MaxUpper().IsInclusive().FieldPath(), 792 } 793 } 794 795 func (s TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMaxUpperIsInclusive) WithValue(value bool) *TsCndSpec_FieldSubPathValue { 796 return s.FieldPath().WithIValue(value).(*TsCndSpec_FieldSubPathValue) 797 } 798 799 func (s TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMaxUpperIsInclusive) WithArrayOfValues(values []bool) *TsCndSpec_FieldSubPathArrayOfValues { 800 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpec_FieldSubPathArrayOfValues) 801 } 802 803 type TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMaxLower struct{} 804 805 func (TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMaxLower) FieldPath() *TsCndSpec_FieldSubPath { 806 return &TsCndSpec_FieldSubPath{ 807 selector: TsCndSpec_FieldPathSelectorThresholdAlerting, 808 subPath: NewTsCndSpecThresholdAlertingCfgFieldPathBuilder().PerQueryThresholds().MaxLower().FieldPath(), 809 } 810 } 811 812 func (s TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMaxLower) WithValue(value *AlertingThreshold) *TsCndSpec_FieldSubPathValue { 813 return s.FieldPath().WithIValue(value).(*TsCndSpec_FieldSubPathValue) 814 } 815 816 func (s TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMaxLower) WithArrayOfValues(values []*AlertingThreshold) *TsCndSpec_FieldSubPathArrayOfValues { 817 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpec_FieldSubPathArrayOfValues) 818 } 819 820 func (TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMaxLower) Value() TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMaxLowerValue { 821 return TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMaxLowerValue{} 822 } 823 824 func (TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMaxLower) IsInclusive() TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMaxLowerIsInclusive { 825 return TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMaxLowerIsInclusive{} 826 } 827 828 type TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMaxLowerValue struct{} 829 830 func (TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMaxLowerValue) FieldPath() *TsCndSpec_FieldSubPath { 831 return &TsCndSpec_FieldSubPath{ 832 selector: TsCndSpec_FieldPathSelectorThresholdAlerting, 833 subPath: NewTsCndSpecThresholdAlertingCfgFieldPathBuilder().PerQueryThresholds().MaxLower().Value().FieldPath(), 834 } 835 } 836 837 func (s TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMaxLowerValue) WithValue(value float64) *TsCndSpec_FieldSubPathValue { 838 return s.FieldPath().WithIValue(value).(*TsCndSpec_FieldSubPathValue) 839 } 840 841 func (s TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMaxLowerValue) WithArrayOfValues(values []float64) *TsCndSpec_FieldSubPathArrayOfValues { 842 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpec_FieldSubPathArrayOfValues) 843 } 844 845 type TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMaxLowerIsInclusive struct{} 846 847 func (TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMaxLowerIsInclusive) FieldPath() *TsCndSpec_FieldSubPath { 848 return &TsCndSpec_FieldSubPath{ 849 selector: TsCndSpec_FieldPathSelectorThresholdAlerting, 850 subPath: NewTsCndSpecThresholdAlertingCfgFieldPathBuilder().PerQueryThresholds().MaxLower().IsInclusive().FieldPath(), 851 } 852 } 853 854 func (s TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMaxLowerIsInclusive) WithValue(value bool) *TsCndSpec_FieldSubPathValue { 855 return s.FieldPath().WithIValue(value).(*TsCndSpec_FieldSubPathValue) 856 } 857 858 func (s TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMaxLowerIsInclusive) WithArrayOfValues(values []bool) *TsCndSpec_FieldSubPathArrayOfValues { 859 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpec_FieldSubPathArrayOfValues) 860 } 861 862 type TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMinUpper struct{} 863 864 func (TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMinUpper) FieldPath() *TsCndSpec_FieldSubPath { 865 return &TsCndSpec_FieldSubPath{ 866 selector: TsCndSpec_FieldPathSelectorThresholdAlerting, 867 subPath: NewTsCndSpecThresholdAlertingCfgFieldPathBuilder().PerQueryThresholds().MinUpper().FieldPath(), 868 } 869 } 870 871 func (s TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMinUpper) WithValue(value *AlertingThreshold) *TsCndSpec_FieldSubPathValue { 872 return s.FieldPath().WithIValue(value).(*TsCndSpec_FieldSubPathValue) 873 } 874 875 func (s TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMinUpper) WithArrayOfValues(values []*AlertingThreshold) *TsCndSpec_FieldSubPathArrayOfValues { 876 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpec_FieldSubPathArrayOfValues) 877 } 878 879 func (TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMinUpper) Value() TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMinUpperValue { 880 return TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMinUpperValue{} 881 } 882 883 func (TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMinUpper) IsInclusive() TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMinUpperIsInclusive { 884 return TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMinUpperIsInclusive{} 885 } 886 887 type TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMinUpperValue struct{} 888 889 func (TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMinUpperValue) FieldPath() *TsCndSpec_FieldSubPath { 890 return &TsCndSpec_FieldSubPath{ 891 selector: TsCndSpec_FieldPathSelectorThresholdAlerting, 892 subPath: NewTsCndSpecThresholdAlertingCfgFieldPathBuilder().PerQueryThresholds().MinUpper().Value().FieldPath(), 893 } 894 } 895 896 func (s TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMinUpperValue) WithValue(value float64) *TsCndSpec_FieldSubPathValue { 897 return s.FieldPath().WithIValue(value).(*TsCndSpec_FieldSubPathValue) 898 } 899 900 func (s TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMinUpperValue) WithArrayOfValues(values []float64) *TsCndSpec_FieldSubPathArrayOfValues { 901 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpec_FieldSubPathArrayOfValues) 902 } 903 904 type TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMinUpperIsInclusive struct{} 905 906 func (TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMinUpperIsInclusive) FieldPath() *TsCndSpec_FieldSubPath { 907 return &TsCndSpec_FieldSubPath{ 908 selector: TsCndSpec_FieldPathSelectorThresholdAlerting, 909 subPath: NewTsCndSpecThresholdAlertingCfgFieldPathBuilder().PerQueryThresholds().MinUpper().IsInclusive().FieldPath(), 910 } 911 } 912 913 func (s TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMinUpperIsInclusive) WithValue(value bool) *TsCndSpec_FieldSubPathValue { 914 return s.FieldPath().WithIValue(value).(*TsCndSpec_FieldSubPathValue) 915 } 916 917 func (s TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMinUpperIsInclusive) WithArrayOfValues(values []bool) *TsCndSpec_FieldSubPathArrayOfValues { 918 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpec_FieldSubPathArrayOfValues) 919 } 920 921 type TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMinLower struct{} 922 923 func (TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMinLower) FieldPath() *TsCndSpec_FieldSubPath { 924 return &TsCndSpec_FieldSubPath{ 925 selector: TsCndSpec_FieldPathSelectorThresholdAlerting, 926 subPath: NewTsCndSpecThresholdAlertingCfgFieldPathBuilder().PerQueryThresholds().MinLower().FieldPath(), 927 } 928 } 929 930 func (s TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMinLower) WithValue(value *AlertingThreshold) *TsCndSpec_FieldSubPathValue { 931 return s.FieldPath().WithIValue(value).(*TsCndSpec_FieldSubPathValue) 932 } 933 934 func (s TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMinLower) WithArrayOfValues(values []*AlertingThreshold) *TsCndSpec_FieldSubPathArrayOfValues { 935 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpec_FieldSubPathArrayOfValues) 936 } 937 938 func (TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMinLower) Value() TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMinLowerValue { 939 return TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMinLowerValue{} 940 } 941 942 func (TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMinLower) IsInclusive() TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMinLowerIsInclusive { 943 return TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMinLowerIsInclusive{} 944 } 945 946 type TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMinLowerValue struct{} 947 948 func (TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMinLowerValue) FieldPath() *TsCndSpec_FieldSubPath { 949 return &TsCndSpec_FieldSubPath{ 950 selector: TsCndSpec_FieldPathSelectorThresholdAlerting, 951 subPath: NewTsCndSpecThresholdAlertingCfgFieldPathBuilder().PerQueryThresholds().MinLower().Value().FieldPath(), 952 } 953 } 954 955 func (s TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMinLowerValue) WithValue(value float64) *TsCndSpec_FieldSubPathValue { 956 return s.FieldPath().WithIValue(value).(*TsCndSpec_FieldSubPathValue) 957 } 958 959 func (s TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMinLowerValue) WithArrayOfValues(values []float64) *TsCndSpec_FieldSubPathArrayOfValues { 960 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpec_FieldSubPathArrayOfValues) 961 } 962 963 type TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMinLowerIsInclusive struct{} 964 965 func (TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMinLowerIsInclusive) FieldPath() *TsCndSpec_FieldSubPath { 966 return &TsCndSpec_FieldSubPath{ 967 selector: TsCndSpec_FieldPathSelectorThresholdAlerting, 968 subPath: NewTsCndSpecThresholdAlertingCfgFieldPathBuilder().PerQueryThresholds().MinLower().IsInclusive().FieldPath(), 969 } 970 } 971 972 func (s TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMinLowerIsInclusive) WithValue(value bool) *TsCndSpec_FieldSubPathValue { 973 return s.FieldPath().WithIValue(value).(*TsCndSpec_FieldSubPathValue) 974 } 975 976 func (s TsCndSpecPathSelectorThresholdAlertingPerQueryThresholdsMinLowerIsInclusive) WithArrayOfValues(values []bool) *TsCndSpec_FieldSubPathArrayOfValues { 977 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpec_FieldSubPathArrayOfValues) 978 } 979 980 type TsCndSpecPathSelectorThresholdAlertingAdaptiveThresholdsDetectionPeriod struct{} 981 982 func (TsCndSpecPathSelectorThresholdAlertingAdaptiveThresholdsDetectionPeriod) FieldPath() *TsCndSpec_FieldSubPath { 983 return &TsCndSpec_FieldSubPath{ 984 selector: TsCndSpec_FieldPathSelectorThresholdAlerting, 985 subPath: NewTsCndSpecThresholdAlertingCfgFieldPathBuilder().AdaptiveThresholdsDetectionPeriod().FieldPath(), 986 } 987 } 988 989 func (s TsCndSpecPathSelectorThresholdAlertingAdaptiveThresholdsDetectionPeriod) WithValue(value *durationpb.Duration) *TsCndSpec_FieldSubPathValue { 990 return s.FieldPath().WithIValue(value).(*TsCndSpec_FieldSubPathValue) 991 } 992 993 func (s TsCndSpecPathSelectorThresholdAlertingAdaptiveThresholdsDetectionPeriod) WithArrayOfValues(values []*durationpb.Duration) *TsCndSpec_FieldSubPathArrayOfValues { 994 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpec_FieldSubPathArrayOfValues) 995 } 996 997 type TsCndSpecPathSelectorAnomalyAlerting struct{} 998 999 func (TsCndSpecPathSelectorAnomalyAlerting) FieldPath() *TsCndSpec_FieldTerminalPath { 1000 return &TsCndSpec_FieldTerminalPath{selector: TsCndSpec_FieldPathSelectorAnomalyAlerting} 1001 } 1002 1003 func (s TsCndSpecPathSelectorAnomalyAlerting) WithValue(value []*TsCndSpec_AnomalyAlertingCfg) *TsCndSpec_FieldTerminalPathValue { 1004 return s.FieldPath().WithIValue(value).(*TsCndSpec_FieldTerminalPathValue) 1005 } 1006 1007 func (s TsCndSpecPathSelectorAnomalyAlerting) WithArrayOfValues(values [][]*TsCndSpec_AnomalyAlertingCfg) *TsCndSpec_FieldTerminalPathArrayOfValues { 1008 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpec_FieldTerminalPathArrayOfValues) 1009 } 1010 1011 func (s TsCndSpecPathSelectorAnomalyAlerting) WithItemValue(value *TsCndSpec_AnomalyAlertingCfg) *TsCndSpec_FieldTerminalPathArrayItemValue { 1012 return s.FieldPath().WithIArrayItemValue(value).(*TsCndSpec_FieldTerminalPathArrayItemValue) 1013 } 1014 func (TsCndSpecPathSelectorAnomalyAlerting) WithSubPath(subPath TsCndSpecAnomalyAlertingCfg_FieldPath) *TsCndSpec_FieldSubPath { 1015 return &TsCndSpec_FieldSubPath{selector: TsCndSpec_FieldPathSelectorAnomalyAlerting, subPath: subPath} 1016 } 1017 1018 func (s TsCndSpecPathSelectorAnomalyAlerting) WithSubValue(subPathValue TsCndSpecAnomalyAlertingCfg_FieldPathValue) *TsCndSpec_FieldSubPathValue { 1019 return &TsCndSpec_FieldSubPathValue{TsCndSpec_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 1020 } 1021 1022 func (s TsCndSpecPathSelectorAnomalyAlerting) WithSubArrayOfValues(subPathArrayOfValues TsCndSpecAnomalyAlertingCfg_FieldPathArrayOfValues) *TsCndSpec_FieldSubPathArrayOfValues { 1023 return &TsCndSpec_FieldSubPathArrayOfValues{TsCndSpec_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 1024 } 1025 1026 func (s TsCndSpecPathSelectorAnomalyAlerting) WithSubArrayItemValue(subPathArrayItemValue TsCndSpecAnomalyAlertingCfg_FieldPathArrayItemValue) *TsCndSpec_FieldSubPathArrayItemValue { 1027 return &TsCndSpec_FieldSubPathArrayItemValue{TsCndSpec_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 1028 } 1029 1030 func (TsCndSpecPathSelectorAnomalyAlerting) AnalysisWindow() TsCndSpecPathSelectorAnomalyAlertingAnalysisWindow { 1031 return TsCndSpecPathSelectorAnomalyAlertingAnalysisWindow{} 1032 } 1033 1034 func (TsCndSpecPathSelectorAnomalyAlerting) StepInterval() TsCndSpecPathSelectorAnomalyAlertingStepInterval { 1035 return TsCndSpecPathSelectorAnomalyAlertingStepInterval{} 1036 } 1037 1038 func (TsCndSpecPathSelectorAnomalyAlerting) TrainStepInterval() TsCndSpecPathSelectorAnomalyAlertingTrainStepInterval { 1039 return TsCndSpecPathSelectorAnomalyAlertingTrainStepInterval{} 1040 } 1041 1042 func (TsCndSpecPathSelectorAnomalyAlerting) AlignmentPeriod() TsCndSpecPathSelectorAnomalyAlertingAlignmentPeriod { 1043 return TsCndSpecPathSelectorAnomalyAlertingAlignmentPeriod{} 1044 } 1045 1046 func (TsCndSpecPathSelectorAnomalyAlerting) LstmAutoencoder() TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoder { 1047 return TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoder{} 1048 } 1049 1050 func (TsCndSpecPathSelectorAnomalyAlerting) RaiseAfter() TsCndSpecPathSelectorAnomalyAlertingRaiseAfter { 1051 return TsCndSpecPathSelectorAnomalyAlertingRaiseAfter{} 1052 } 1053 1054 func (TsCndSpecPathSelectorAnomalyAlerting) SilenceAfter() TsCndSpecPathSelectorAnomalyAlertingSilenceAfter { 1055 return TsCndSpecPathSelectorAnomalyAlertingSilenceAfter{} 1056 } 1057 1058 type TsCndSpecPathSelectorAnomalyAlertingAnalysisWindow struct{} 1059 1060 func (TsCndSpecPathSelectorAnomalyAlertingAnalysisWindow) FieldPath() *TsCndSpec_FieldSubPath { 1061 return &TsCndSpec_FieldSubPath{ 1062 selector: TsCndSpec_FieldPathSelectorAnomalyAlerting, 1063 subPath: NewTsCndSpecAnomalyAlertingCfgFieldPathBuilder().AnalysisWindow().FieldPath(), 1064 } 1065 } 1066 1067 func (s TsCndSpecPathSelectorAnomalyAlertingAnalysisWindow) WithValue(value *durationpb.Duration) *TsCndSpec_FieldSubPathValue { 1068 return s.FieldPath().WithIValue(value).(*TsCndSpec_FieldSubPathValue) 1069 } 1070 1071 func (s TsCndSpecPathSelectorAnomalyAlertingAnalysisWindow) WithArrayOfValues(values []*durationpb.Duration) *TsCndSpec_FieldSubPathArrayOfValues { 1072 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpec_FieldSubPathArrayOfValues) 1073 } 1074 1075 type TsCndSpecPathSelectorAnomalyAlertingStepInterval struct{} 1076 1077 func (TsCndSpecPathSelectorAnomalyAlertingStepInterval) FieldPath() *TsCndSpec_FieldSubPath { 1078 return &TsCndSpec_FieldSubPath{ 1079 selector: TsCndSpec_FieldPathSelectorAnomalyAlerting, 1080 subPath: NewTsCndSpecAnomalyAlertingCfgFieldPathBuilder().StepInterval().FieldPath(), 1081 } 1082 } 1083 1084 func (s TsCndSpecPathSelectorAnomalyAlertingStepInterval) WithValue(value *durationpb.Duration) *TsCndSpec_FieldSubPathValue { 1085 return s.FieldPath().WithIValue(value).(*TsCndSpec_FieldSubPathValue) 1086 } 1087 1088 func (s TsCndSpecPathSelectorAnomalyAlertingStepInterval) WithArrayOfValues(values []*durationpb.Duration) *TsCndSpec_FieldSubPathArrayOfValues { 1089 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpec_FieldSubPathArrayOfValues) 1090 } 1091 1092 type TsCndSpecPathSelectorAnomalyAlertingTrainStepInterval struct{} 1093 1094 func (TsCndSpecPathSelectorAnomalyAlertingTrainStepInterval) FieldPath() *TsCndSpec_FieldSubPath { 1095 return &TsCndSpec_FieldSubPath{ 1096 selector: TsCndSpec_FieldPathSelectorAnomalyAlerting, 1097 subPath: NewTsCndSpecAnomalyAlertingCfgFieldPathBuilder().TrainStepInterval().FieldPath(), 1098 } 1099 } 1100 1101 func (s TsCndSpecPathSelectorAnomalyAlertingTrainStepInterval) WithValue(value *durationpb.Duration) *TsCndSpec_FieldSubPathValue { 1102 return s.FieldPath().WithIValue(value).(*TsCndSpec_FieldSubPathValue) 1103 } 1104 1105 func (s TsCndSpecPathSelectorAnomalyAlertingTrainStepInterval) WithArrayOfValues(values []*durationpb.Duration) *TsCndSpec_FieldSubPathArrayOfValues { 1106 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpec_FieldSubPathArrayOfValues) 1107 } 1108 1109 type TsCndSpecPathSelectorAnomalyAlertingAlignmentPeriod struct{} 1110 1111 func (TsCndSpecPathSelectorAnomalyAlertingAlignmentPeriod) FieldPath() *TsCndSpec_FieldSubPath { 1112 return &TsCndSpec_FieldSubPath{ 1113 selector: TsCndSpec_FieldPathSelectorAnomalyAlerting, 1114 subPath: NewTsCndSpecAnomalyAlertingCfgFieldPathBuilder().AlignmentPeriod().FieldPath(), 1115 } 1116 } 1117 1118 func (s TsCndSpecPathSelectorAnomalyAlertingAlignmentPeriod) WithValue(value *durationpb.Duration) *TsCndSpec_FieldSubPathValue { 1119 return s.FieldPath().WithIValue(value).(*TsCndSpec_FieldSubPathValue) 1120 } 1121 1122 func (s TsCndSpecPathSelectorAnomalyAlertingAlignmentPeriod) WithArrayOfValues(values []*durationpb.Duration) *TsCndSpec_FieldSubPathArrayOfValues { 1123 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpec_FieldSubPathArrayOfValues) 1124 } 1125 1126 type TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoder struct{} 1127 1128 func (TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoder) FieldPath() *TsCndSpec_FieldSubPath { 1129 return &TsCndSpec_FieldSubPath{ 1130 selector: TsCndSpec_FieldPathSelectorAnomalyAlerting, 1131 subPath: NewTsCndSpecAnomalyAlertingCfgFieldPathBuilder().LstmAutoencoder().FieldPath(), 1132 } 1133 } 1134 1135 func (s TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoder) WithValue(value *TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoder) *TsCndSpec_FieldSubPathValue { 1136 return s.FieldPath().WithIValue(value).(*TsCndSpec_FieldSubPathValue) 1137 } 1138 1139 func (s TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoder) WithArrayOfValues(values []*TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoder) *TsCndSpec_FieldSubPathArrayOfValues { 1140 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpec_FieldSubPathArrayOfValues) 1141 } 1142 1143 func (TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoder) HiddenSize() TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderHiddenSize { 1144 return TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderHiddenSize{} 1145 } 1146 1147 func (TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoder) LearnRate() TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderLearnRate { 1148 return TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderLearnRate{} 1149 } 1150 1151 func (TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoder) MaxTrainingEpochs() TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderMaxTrainingEpochs { 1152 return TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderMaxTrainingEpochs{} 1153 } 1154 1155 func (TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoder) MinTrainingEpochs() TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderMinTrainingEpochs { 1156 return TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderMinTrainingEpochs{} 1157 } 1158 1159 func (TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoder) AcceptableTrainingError() TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderAcceptableTrainingError { 1160 return TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderAcceptableTrainingError{} 1161 } 1162 1163 func (TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoder) TrainingPeriod() TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderTrainingPeriod { 1164 return TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderTrainingPeriod{} 1165 } 1166 1167 func (TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoder) CheckPeriodFraction() TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderCheckPeriodFraction { 1168 return TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderCheckPeriodFraction{} 1169 } 1170 1171 func (TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoder) TeacherForceAtInference() TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderTeacherForceAtInference { 1172 return TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderTeacherForceAtInference{} 1173 } 1174 1175 type TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderHiddenSize struct{} 1176 1177 func (TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderHiddenSize) FieldPath() *TsCndSpec_FieldSubPath { 1178 return &TsCndSpec_FieldSubPath{ 1179 selector: TsCndSpec_FieldPathSelectorAnomalyAlerting, 1180 subPath: NewTsCndSpecAnomalyAlertingCfgFieldPathBuilder().LstmAutoencoder().HiddenSize().FieldPath(), 1181 } 1182 } 1183 1184 func (s TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderHiddenSize) WithValue(value int32) *TsCndSpec_FieldSubPathValue { 1185 return s.FieldPath().WithIValue(value).(*TsCndSpec_FieldSubPathValue) 1186 } 1187 1188 func (s TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderHiddenSize) WithArrayOfValues(values []int32) *TsCndSpec_FieldSubPathArrayOfValues { 1189 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpec_FieldSubPathArrayOfValues) 1190 } 1191 1192 type TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderLearnRate struct{} 1193 1194 func (TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderLearnRate) FieldPath() *TsCndSpec_FieldSubPath { 1195 return &TsCndSpec_FieldSubPath{ 1196 selector: TsCndSpec_FieldPathSelectorAnomalyAlerting, 1197 subPath: NewTsCndSpecAnomalyAlertingCfgFieldPathBuilder().LstmAutoencoder().LearnRate().FieldPath(), 1198 } 1199 } 1200 1201 func (s TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderLearnRate) WithValue(value float64) *TsCndSpec_FieldSubPathValue { 1202 return s.FieldPath().WithIValue(value).(*TsCndSpec_FieldSubPathValue) 1203 } 1204 1205 func (s TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderLearnRate) WithArrayOfValues(values []float64) *TsCndSpec_FieldSubPathArrayOfValues { 1206 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpec_FieldSubPathArrayOfValues) 1207 } 1208 1209 type TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderMaxTrainingEpochs struct{} 1210 1211 func (TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderMaxTrainingEpochs) FieldPath() *TsCndSpec_FieldSubPath { 1212 return &TsCndSpec_FieldSubPath{ 1213 selector: TsCndSpec_FieldPathSelectorAnomalyAlerting, 1214 subPath: NewTsCndSpecAnomalyAlertingCfgFieldPathBuilder().LstmAutoencoder().MaxTrainingEpochs().FieldPath(), 1215 } 1216 } 1217 1218 func (s TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderMaxTrainingEpochs) WithValue(value int32) *TsCndSpec_FieldSubPathValue { 1219 return s.FieldPath().WithIValue(value).(*TsCndSpec_FieldSubPathValue) 1220 } 1221 1222 func (s TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderMaxTrainingEpochs) WithArrayOfValues(values []int32) *TsCndSpec_FieldSubPathArrayOfValues { 1223 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpec_FieldSubPathArrayOfValues) 1224 } 1225 1226 type TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderMinTrainingEpochs struct{} 1227 1228 func (TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderMinTrainingEpochs) FieldPath() *TsCndSpec_FieldSubPath { 1229 return &TsCndSpec_FieldSubPath{ 1230 selector: TsCndSpec_FieldPathSelectorAnomalyAlerting, 1231 subPath: NewTsCndSpecAnomalyAlertingCfgFieldPathBuilder().LstmAutoencoder().MinTrainingEpochs().FieldPath(), 1232 } 1233 } 1234 1235 func (s TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderMinTrainingEpochs) WithValue(value int32) *TsCndSpec_FieldSubPathValue { 1236 return s.FieldPath().WithIValue(value).(*TsCndSpec_FieldSubPathValue) 1237 } 1238 1239 func (s TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderMinTrainingEpochs) WithArrayOfValues(values []int32) *TsCndSpec_FieldSubPathArrayOfValues { 1240 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpec_FieldSubPathArrayOfValues) 1241 } 1242 1243 type TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderAcceptableTrainingError struct{} 1244 1245 func (TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderAcceptableTrainingError) FieldPath() *TsCndSpec_FieldSubPath { 1246 return &TsCndSpec_FieldSubPath{ 1247 selector: TsCndSpec_FieldPathSelectorAnomalyAlerting, 1248 subPath: NewTsCndSpecAnomalyAlertingCfgFieldPathBuilder().LstmAutoencoder().AcceptableTrainingError().FieldPath(), 1249 } 1250 } 1251 1252 func (s TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderAcceptableTrainingError) WithValue(value float64) *TsCndSpec_FieldSubPathValue { 1253 return s.FieldPath().WithIValue(value).(*TsCndSpec_FieldSubPathValue) 1254 } 1255 1256 func (s TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderAcceptableTrainingError) WithArrayOfValues(values []float64) *TsCndSpec_FieldSubPathArrayOfValues { 1257 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpec_FieldSubPathArrayOfValues) 1258 } 1259 1260 type TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderTrainingPeriod struct{} 1261 1262 func (TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderTrainingPeriod) FieldPath() *TsCndSpec_FieldSubPath { 1263 return &TsCndSpec_FieldSubPath{ 1264 selector: TsCndSpec_FieldPathSelectorAnomalyAlerting, 1265 subPath: NewTsCndSpecAnomalyAlertingCfgFieldPathBuilder().LstmAutoencoder().TrainingPeriod().FieldPath(), 1266 } 1267 } 1268 1269 func (s TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderTrainingPeriod) WithValue(value *durationpb.Duration) *TsCndSpec_FieldSubPathValue { 1270 return s.FieldPath().WithIValue(value).(*TsCndSpec_FieldSubPathValue) 1271 } 1272 1273 func (s TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderTrainingPeriod) WithArrayOfValues(values []*durationpb.Duration) *TsCndSpec_FieldSubPathArrayOfValues { 1274 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpec_FieldSubPathArrayOfValues) 1275 } 1276 1277 type TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderCheckPeriodFraction struct{} 1278 1279 func (TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderCheckPeriodFraction) FieldPath() *TsCndSpec_FieldSubPath { 1280 return &TsCndSpec_FieldSubPath{ 1281 selector: TsCndSpec_FieldPathSelectorAnomalyAlerting, 1282 subPath: NewTsCndSpecAnomalyAlertingCfgFieldPathBuilder().LstmAutoencoder().CheckPeriodFraction().FieldPath(), 1283 } 1284 } 1285 1286 func (s TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderCheckPeriodFraction) WithValue(value float64) *TsCndSpec_FieldSubPathValue { 1287 return s.FieldPath().WithIValue(value).(*TsCndSpec_FieldSubPathValue) 1288 } 1289 1290 func (s TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderCheckPeriodFraction) WithArrayOfValues(values []float64) *TsCndSpec_FieldSubPathArrayOfValues { 1291 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpec_FieldSubPathArrayOfValues) 1292 } 1293 1294 type TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderTeacherForceAtInference struct{} 1295 1296 func (TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderTeacherForceAtInference) FieldPath() *TsCndSpec_FieldSubPath { 1297 return &TsCndSpec_FieldSubPath{ 1298 selector: TsCndSpec_FieldPathSelectorAnomalyAlerting, 1299 subPath: NewTsCndSpecAnomalyAlertingCfgFieldPathBuilder().LstmAutoencoder().TeacherForceAtInference().FieldPath(), 1300 } 1301 } 1302 1303 func (s TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderTeacherForceAtInference) WithValue(value bool) *TsCndSpec_FieldSubPathValue { 1304 return s.FieldPath().WithIValue(value).(*TsCndSpec_FieldSubPathValue) 1305 } 1306 1307 func (s TsCndSpecPathSelectorAnomalyAlertingLstmAutoencoderTeacherForceAtInference) WithArrayOfValues(values []bool) *TsCndSpec_FieldSubPathArrayOfValues { 1308 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpec_FieldSubPathArrayOfValues) 1309 } 1310 1311 type TsCndSpecPathSelectorAnomalyAlertingRaiseAfter struct{} 1312 1313 func (TsCndSpecPathSelectorAnomalyAlertingRaiseAfter) FieldPath() *TsCndSpec_FieldSubPath { 1314 return &TsCndSpec_FieldSubPath{ 1315 selector: TsCndSpec_FieldPathSelectorAnomalyAlerting, 1316 subPath: NewTsCndSpecAnomalyAlertingCfgFieldPathBuilder().RaiseAfter().FieldPath(), 1317 } 1318 } 1319 1320 func (s TsCndSpecPathSelectorAnomalyAlertingRaiseAfter) WithValue(value *durationpb.Duration) *TsCndSpec_FieldSubPathValue { 1321 return s.FieldPath().WithIValue(value).(*TsCndSpec_FieldSubPathValue) 1322 } 1323 1324 func (s TsCndSpecPathSelectorAnomalyAlertingRaiseAfter) WithArrayOfValues(values []*durationpb.Duration) *TsCndSpec_FieldSubPathArrayOfValues { 1325 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpec_FieldSubPathArrayOfValues) 1326 } 1327 1328 type TsCndSpecPathSelectorAnomalyAlertingSilenceAfter struct{} 1329 1330 func (TsCndSpecPathSelectorAnomalyAlertingSilenceAfter) FieldPath() *TsCndSpec_FieldSubPath { 1331 return &TsCndSpec_FieldSubPath{ 1332 selector: TsCndSpec_FieldPathSelectorAnomalyAlerting, 1333 subPath: NewTsCndSpecAnomalyAlertingCfgFieldPathBuilder().SilenceAfter().FieldPath(), 1334 } 1335 } 1336 1337 func (s TsCndSpecPathSelectorAnomalyAlertingSilenceAfter) WithValue(value *durationpb.Duration) *TsCndSpec_FieldSubPathValue { 1338 return s.FieldPath().WithIValue(value).(*TsCndSpec_FieldSubPathValue) 1339 } 1340 1341 func (s TsCndSpecPathSelectorAnomalyAlertingSilenceAfter) WithArrayOfValues(values []*durationpb.Duration) *TsCndSpec_FieldSubPathArrayOfValues { 1342 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpec_FieldSubPathArrayOfValues) 1343 } 1344 1345 type TsCndSpecQueryFieldPathBuilder struct{} 1346 1347 func NewTsCndSpecQueryFieldPathBuilder() TsCndSpecQueryFieldPathBuilder { 1348 return TsCndSpecQueryFieldPathBuilder{} 1349 } 1350 func (TsCndSpecQueryFieldPathBuilder) Name() TsCndSpec_QueryPathSelectorName { 1351 return TsCndSpec_QueryPathSelectorName{} 1352 } 1353 func (TsCndSpecQueryFieldPathBuilder) Filter() TsCndSpec_QueryPathSelectorFilter { 1354 return TsCndSpec_QueryPathSelectorFilter{} 1355 } 1356 func (TsCndSpecQueryFieldPathBuilder) Aligner() TsCndSpec_QueryPathSelectorAligner { 1357 return TsCndSpec_QueryPathSelectorAligner{} 1358 } 1359 func (TsCndSpecQueryFieldPathBuilder) Reducer() TsCndSpec_QueryPathSelectorReducer { 1360 return TsCndSpec_QueryPathSelectorReducer{} 1361 } 1362 func (TsCndSpecQueryFieldPathBuilder) MaxValue() TsCndSpec_QueryPathSelectorMaxValue { 1363 return TsCndSpec_QueryPathSelectorMaxValue{} 1364 } 1365 1366 type TsCndSpec_QueryPathSelectorName struct{} 1367 1368 func (TsCndSpec_QueryPathSelectorName) FieldPath() *TsCndSpecQuery_FieldTerminalPath { 1369 return &TsCndSpecQuery_FieldTerminalPath{selector: TsCndSpecQuery_FieldPathSelectorName} 1370 } 1371 1372 func (s TsCndSpec_QueryPathSelectorName) WithValue(value string) *TsCndSpecQuery_FieldTerminalPathValue { 1373 return s.FieldPath().WithIValue(value).(*TsCndSpecQuery_FieldTerminalPathValue) 1374 } 1375 1376 func (s TsCndSpec_QueryPathSelectorName) WithArrayOfValues(values []string) *TsCndSpecQuery_FieldTerminalPathArrayOfValues { 1377 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecQuery_FieldTerminalPathArrayOfValues) 1378 } 1379 1380 type TsCndSpec_QueryPathSelectorFilter struct{} 1381 1382 func (TsCndSpec_QueryPathSelectorFilter) FieldPath() *TsCndSpecQuery_FieldTerminalPath { 1383 return &TsCndSpecQuery_FieldTerminalPath{selector: TsCndSpecQuery_FieldPathSelectorFilter} 1384 } 1385 1386 func (s TsCndSpec_QueryPathSelectorFilter) WithValue(value *monitoring_time_serie.Filter) *TsCndSpecQuery_FieldTerminalPathValue { 1387 return s.FieldPath().WithIValue(value).(*TsCndSpecQuery_FieldTerminalPathValue) 1388 } 1389 1390 func (s TsCndSpec_QueryPathSelectorFilter) WithArrayOfValues(values []*monitoring_time_serie.Filter) *TsCndSpecQuery_FieldTerminalPathArrayOfValues { 1391 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecQuery_FieldTerminalPathArrayOfValues) 1392 } 1393 1394 type TsCndSpec_QueryPathSelectorAligner struct{} 1395 1396 func (TsCndSpec_QueryPathSelectorAligner) FieldPath() *TsCndSpecQuery_FieldTerminalPath { 1397 return &TsCndSpecQuery_FieldTerminalPath{selector: TsCndSpecQuery_FieldPathSelectorAligner} 1398 } 1399 1400 func (s TsCndSpec_QueryPathSelectorAligner) WithValue(value monitoring_common.Aggregation_Aligner) *TsCndSpecQuery_FieldTerminalPathValue { 1401 return s.FieldPath().WithIValue(value).(*TsCndSpecQuery_FieldTerminalPathValue) 1402 } 1403 1404 func (s TsCndSpec_QueryPathSelectorAligner) WithArrayOfValues(values []monitoring_common.Aggregation_Aligner) *TsCndSpecQuery_FieldTerminalPathArrayOfValues { 1405 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecQuery_FieldTerminalPathArrayOfValues) 1406 } 1407 1408 type TsCndSpec_QueryPathSelectorReducer struct{} 1409 1410 func (TsCndSpec_QueryPathSelectorReducer) FieldPath() *TsCndSpecQuery_FieldTerminalPath { 1411 return &TsCndSpecQuery_FieldTerminalPath{selector: TsCndSpecQuery_FieldPathSelectorReducer} 1412 } 1413 1414 func (s TsCndSpec_QueryPathSelectorReducer) WithValue(value monitoring_common.Aggregation_Reducer) *TsCndSpecQuery_FieldTerminalPathValue { 1415 return s.FieldPath().WithIValue(value).(*TsCndSpecQuery_FieldTerminalPathValue) 1416 } 1417 1418 func (s TsCndSpec_QueryPathSelectorReducer) WithArrayOfValues(values []monitoring_common.Aggregation_Reducer) *TsCndSpecQuery_FieldTerminalPathArrayOfValues { 1419 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecQuery_FieldTerminalPathArrayOfValues) 1420 } 1421 1422 type TsCndSpec_QueryPathSelectorMaxValue struct{} 1423 1424 func (TsCndSpec_QueryPathSelectorMaxValue) FieldPath() *TsCndSpecQuery_FieldTerminalPath { 1425 return &TsCndSpecQuery_FieldTerminalPath{selector: TsCndSpecQuery_FieldPathSelectorMaxValue} 1426 } 1427 1428 func (s TsCndSpec_QueryPathSelectorMaxValue) WithValue(value float64) *TsCndSpecQuery_FieldTerminalPathValue { 1429 return s.FieldPath().WithIValue(value).(*TsCndSpecQuery_FieldTerminalPathValue) 1430 } 1431 1432 func (s TsCndSpec_QueryPathSelectorMaxValue) WithArrayOfValues(values []float64) *TsCndSpecQuery_FieldTerminalPathArrayOfValues { 1433 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecQuery_FieldTerminalPathArrayOfValues) 1434 } 1435 1436 type TsCndSpecThresholdAlertingCfgFieldPathBuilder struct{} 1437 1438 func NewTsCndSpecThresholdAlertingCfgFieldPathBuilder() TsCndSpecThresholdAlertingCfgFieldPathBuilder { 1439 return TsCndSpecThresholdAlertingCfgFieldPathBuilder{} 1440 } 1441 func (TsCndSpecThresholdAlertingCfgFieldPathBuilder) Operator() TsCndSpec_ThresholdAlertingCfgPathSelectorOperator { 1442 return TsCndSpec_ThresholdAlertingCfgPathSelectorOperator{} 1443 } 1444 func (TsCndSpecThresholdAlertingCfgFieldPathBuilder) AlignmentPeriod() TsCndSpec_ThresholdAlertingCfgPathSelectorAlignmentPeriod { 1445 return TsCndSpec_ThresholdAlertingCfgPathSelectorAlignmentPeriod{} 1446 } 1447 func (TsCndSpecThresholdAlertingCfgFieldPathBuilder) RaiseAfter() TsCndSpec_ThresholdAlertingCfgPathSelectorRaiseAfter { 1448 return TsCndSpec_ThresholdAlertingCfgPathSelectorRaiseAfter{} 1449 } 1450 func (TsCndSpecThresholdAlertingCfgFieldPathBuilder) SilenceAfter() TsCndSpec_ThresholdAlertingCfgPathSelectorSilenceAfter { 1451 return TsCndSpec_ThresholdAlertingCfgPathSelectorSilenceAfter{} 1452 } 1453 func (TsCndSpecThresholdAlertingCfgFieldPathBuilder) PerQueryThresholds() TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholds { 1454 return TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholds{} 1455 } 1456 func (TsCndSpecThresholdAlertingCfgFieldPathBuilder) AdaptiveThresholdsDetectionPeriod() TsCndSpec_ThresholdAlertingCfgPathSelectorAdaptiveThresholdsDetectionPeriod { 1457 return TsCndSpec_ThresholdAlertingCfgPathSelectorAdaptiveThresholdsDetectionPeriod{} 1458 } 1459 1460 type TsCndSpec_ThresholdAlertingCfgPathSelectorOperator struct{} 1461 1462 func (TsCndSpec_ThresholdAlertingCfgPathSelectorOperator) FieldPath() *TsCndSpecThresholdAlertingCfg_FieldTerminalPath { 1463 return &TsCndSpecThresholdAlertingCfg_FieldTerminalPath{selector: TsCndSpecThresholdAlertingCfg_FieldPathSelectorOperator} 1464 } 1465 1466 func (s TsCndSpec_ThresholdAlertingCfgPathSelectorOperator) WithValue(value TsCndSpec_ThresholdAlertingCfg_Operator) *TsCndSpecThresholdAlertingCfg_FieldTerminalPathValue { 1467 return s.FieldPath().WithIValue(value).(*TsCndSpecThresholdAlertingCfg_FieldTerminalPathValue) 1468 } 1469 1470 func (s TsCndSpec_ThresholdAlertingCfgPathSelectorOperator) WithArrayOfValues(values []TsCndSpec_ThresholdAlertingCfg_Operator) *TsCndSpecThresholdAlertingCfg_FieldTerminalPathArrayOfValues { 1471 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecThresholdAlertingCfg_FieldTerminalPathArrayOfValues) 1472 } 1473 1474 type TsCndSpec_ThresholdAlertingCfgPathSelectorAlignmentPeriod struct{} 1475 1476 func (TsCndSpec_ThresholdAlertingCfgPathSelectorAlignmentPeriod) FieldPath() *TsCndSpecThresholdAlertingCfg_FieldTerminalPath { 1477 return &TsCndSpecThresholdAlertingCfg_FieldTerminalPath{selector: TsCndSpecThresholdAlertingCfg_FieldPathSelectorAlignmentPeriod} 1478 } 1479 1480 func (s TsCndSpec_ThresholdAlertingCfgPathSelectorAlignmentPeriod) WithValue(value *durationpb.Duration) *TsCndSpecThresholdAlertingCfg_FieldTerminalPathValue { 1481 return s.FieldPath().WithIValue(value).(*TsCndSpecThresholdAlertingCfg_FieldTerminalPathValue) 1482 } 1483 1484 func (s TsCndSpec_ThresholdAlertingCfgPathSelectorAlignmentPeriod) WithArrayOfValues(values []*durationpb.Duration) *TsCndSpecThresholdAlertingCfg_FieldTerminalPathArrayOfValues { 1485 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecThresholdAlertingCfg_FieldTerminalPathArrayOfValues) 1486 } 1487 1488 type TsCndSpec_ThresholdAlertingCfgPathSelectorRaiseAfter struct{} 1489 1490 func (TsCndSpec_ThresholdAlertingCfgPathSelectorRaiseAfter) FieldPath() *TsCndSpecThresholdAlertingCfg_FieldTerminalPath { 1491 return &TsCndSpecThresholdAlertingCfg_FieldTerminalPath{selector: TsCndSpecThresholdAlertingCfg_FieldPathSelectorRaiseAfter} 1492 } 1493 1494 func (s TsCndSpec_ThresholdAlertingCfgPathSelectorRaiseAfter) WithValue(value *durationpb.Duration) *TsCndSpecThresholdAlertingCfg_FieldTerminalPathValue { 1495 return s.FieldPath().WithIValue(value).(*TsCndSpecThresholdAlertingCfg_FieldTerminalPathValue) 1496 } 1497 1498 func (s TsCndSpec_ThresholdAlertingCfgPathSelectorRaiseAfter) WithArrayOfValues(values []*durationpb.Duration) *TsCndSpecThresholdAlertingCfg_FieldTerminalPathArrayOfValues { 1499 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecThresholdAlertingCfg_FieldTerminalPathArrayOfValues) 1500 } 1501 1502 type TsCndSpec_ThresholdAlertingCfgPathSelectorSilenceAfter struct{} 1503 1504 func (TsCndSpec_ThresholdAlertingCfgPathSelectorSilenceAfter) FieldPath() *TsCndSpecThresholdAlertingCfg_FieldTerminalPath { 1505 return &TsCndSpecThresholdAlertingCfg_FieldTerminalPath{selector: TsCndSpecThresholdAlertingCfg_FieldPathSelectorSilenceAfter} 1506 } 1507 1508 func (s TsCndSpec_ThresholdAlertingCfgPathSelectorSilenceAfter) WithValue(value *durationpb.Duration) *TsCndSpecThresholdAlertingCfg_FieldTerminalPathValue { 1509 return s.FieldPath().WithIValue(value).(*TsCndSpecThresholdAlertingCfg_FieldTerminalPathValue) 1510 } 1511 1512 func (s TsCndSpec_ThresholdAlertingCfgPathSelectorSilenceAfter) WithArrayOfValues(values []*durationpb.Duration) *TsCndSpecThresholdAlertingCfg_FieldTerminalPathArrayOfValues { 1513 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecThresholdAlertingCfg_FieldTerminalPathArrayOfValues) 1514 } 1515 1516 type TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholds struct{} 1517 1518 func (TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholds) FieldPath() *TsCndSpecThresholdAlertingCfg_FieldTerminalPath { 1519 return &TsCndSpecThresholdAlertingCfg_FieldTerminalPath{selector: TsCndSpecThresholdAlertingCfg_FieldPathSelectorPerQueryThresholds} 1520 } 1521 1522 func (s TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholds) WithValue(value []*TsCndSpec_ThresholdAlertingCfg_AlertingThresholds) *TsCndSpecThresholdAlertingCfg_FieldTerminalPathValue { 1523 return s.FieldPath().WithIValue(value).(*TsCndSpecThresholdAlertingCfg_FieldTerminalPathValue) 1524 } 1525 1526 func (s TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholds) WithArrayOfValues(values [][]*TsCndSpec_ThresholdAlertingCfg_AlertingThresholds) *TsCndSpecThresholdAlertingCfg_FieldTerminalPathArrayOfValues { 1527 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecThresholdAlertingCfg_FieldTerminalPathArrayOfValues) 1528 } 1529 1530 func (s TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholds) WithItemValue(value *TsCndSpec_ThresholdAlertingCfg_AlertingThresholds) *TsCndSpecThresholdAlertingCfg_FieldTerminalPathArrayItemValue { 1531 return s.FieldPath().WithIArrayItemValue(value).(*TsCndSpecThresholdAlertingCfg_FieldTerminalPathArrayItemValue) 1532 } 1533 func (TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholds) WithSubPath(subPath TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldPath) *TsCndSpecThresholdAlertingCfg_FieldSubPath { 1534 return &TsCndSpecThresholdAlertingCfg_FieldSubPath{selector: TsCndSpecThresholdAlertingCfg_FieldPathSelectorPerQueryThresholds, subPath: subPath} 1535 } 1536 1537 func (s TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholds) WithSubValue(subPathValue TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldPathValue) *TsCndSpecThresholdAlertingCfg_FieldSubPathValue { 1538 return &TsCndSpecThresholdAlertingCfg_FieldSubPathValue{TsCndSpecThresholdAlertingCfg_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 1539 } 1540 1541 func (s TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholds) WithSubArrayOfValues(subPathArrayOfValues TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldPathArrayOfValues) *TsCndSpecThresholdAlertingCfg_FieldSubPathArrayOfValues { 1542 return &TsCndSpecThresholdAlertingCfg_FieldSubPathArrayOfValues{TsCndSpecThresholdAlertingCfg_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 1543 } 1544 1545 func (s TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholds) WithSubArrayItemValue(subPathArrayItemValue TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldPathArrayItemValue) *TsCndSpecThresholdAlertingCfg_FieldSubPathArrayItemValue { 1546 return &TsCndSpecThresholdAlertingCfg_FieldSubPathArrayItemValue{TsCndSpecThresholdAlertingCfg_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 1547 } 1548 1549 func (TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholds) AutoAdaptUpper() TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsAutoAdaptUpper { 1550 return TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsAutoAdaptUpper{} 1551 } 1552 1553 func (TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholds) AutoAdaptLower() TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsAutoAdaptLower { 1554 return TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsAutoAdaptLower{} 1555 } 1556 1557 func (TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholds) MaxUpper() TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMaxUpper { 1558 return TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMaxUpper{} 1559 } 1560 1561 func (TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholds) MaxLower() TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMaxLower { 1562 return TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMaxLower{} 1563 } 1564 1565 func (TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholds) MinUpper() TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMinUpper { 1566 return TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMinUpper{} 1567 } 1568 1569 func (TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholds) MinLower() TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMinLower { 1570 return TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMinLower{} 1571 } 1572 1573 type TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsAutoAdaptUpper struct{} 1574 1575 func (TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsAutoAdaptUpper) FieldPath() *TsCndSpecThresholdAlertingCfg_FieldSubPath { 1576 return &TsCndSpecThresholdAlertingCfg_FieldSubPath{ 1577 selector: TsCndSpecThresholdAlertingCfg_FieldPathSelectorPerQueryThresholds, 1578 subPath: NewTsCndSpecThresholdAlertingCfgAlertingThresholdsFieldPathBuilder().AutoAdaptUpper().FieldPath(), 1579 } 1580 } 1581 1582 func (s TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsAutoAdaptUpper) WithValue(value bool) *TsCndSpecThresholdAlertingCfg_FieldSubPathValue { 1583 return s.FieldPath().WithIValue(value).(*TsCndSpecThresholdAlertingCfg_FieldSubPathValue) 1584 } 1585 1586 func (s TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsAutoAdaptUpper) WithArrayOfValues(values []bool) *TsCndSpecThresholdAlertingCfg_FieldSubPathArrayOfValues { 1587 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecThresholdAlertingCfg_FieldSubPathArrayOfValues) 1588 } 1589 1590 type TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsAutoAdaptLower struct{} 1591 1592 func (TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsAutoAdaptLower) FieldPath() *TsCndSpecThresholdAlertingCfg_FieldSubPath { 1593 return &TsCndSpecThresholdAlertingCfg_FieldSubPath{ 1594 selector: TsCndSpecThresholdAlertingCfg_FieldPathSelectorPerQueryThresholds, 1595 subPath: NewTsCndSpecThresholdAlertingCfgAlertingThresholdsFieldPathBuilder().AutoAdaptLower().FieldPath(), 1596 } 1597 } 1598 1599 func (s TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsAutoAdaptLower) WithValue(value bool) *TsCndSpecThresholdAlertingCfg_FieldSubPathValue { 1600 return s.FieldPath().WithIValue(value).(*TsCndSpecThresholdAlertingCfg_FieldSubPathValue) 1601 } 1602 1603 func (s TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsAutoAdaptLower) WithArrayOfValues(values []bool) *TsCndSpecThresholdAlertingCfg_FieldSubPathArrayOfValues { 1604 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecThresholdAlertingCfg_FieldSubPathArrayOfValues) 1605 } 1606 1607 type TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMaxUpper struct{} 1608 1609 func (TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMaxUpper) FieldPath() *TsCndSpecThresholdAlertingCfg_FieldSubPath { 1610 return &TsCndSpecThresholdAlertingCfg_FieldSubPath{ 1611 selector: TsCndSpecThresholdAlertingCfg_FieldPathSelectorPerQueryThresholds, 1612 subPath: NewTsCndSpecThresholdAlertingCfgAlertingThresholdsFieldPathBuilder().MaxUpper().FieldPath(), 1613 } 1614 } 1615 1616 func (s TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMaxUpper) WithValue(value *AlertingThreshold) *TsCndSpecThresholdAlertingCfg_FieldSubPathValue { 1617 return s.FieldPath().WithIValue(value).(*TsCndSpecThresholdAlertingCfg_FieldSubPathValue) 1618 } 1619 1620 func (s TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMaxUpper) WithArrayOfValues(values []*AlertingThreshold) *TsCndSpecThresholdAlertingCfg_FieldSubPathArrayOfValues { 1621 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecThresholdAlertingCfg_FieldSubPathArrayOfValues) 1622 } 1623 1624 func (TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMaxUpper) Value() TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMaxUpperValue { 1625 return TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMaxUpperValue{} 1626 } 1627 1628 func (TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMaxUpper) IsInclusive() TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMaxUpperIsInclusive { 1629 return TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMaxUpperIsInclusive{} 1630 } 1631 1632 type TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMaxUpperValue struct{} 1633 1634 func (TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMaxUpperValue) FieldPath() *TsCndSpecThresholdAlertingCfg_FieldSubPath { 1635 return &TsCndSpecThresholdAlertingCfg_FieldSubPath{ 1636 selector: TsCndSpecThresholdAlertingCfg_FieldPathSelectorPerQueryThresholds, 1637 subPath: NewTsCndSpecThresholdAlertingCfgAlertingThresholdsFieldPathBuilder().MaxUpper().Value().FieldPath(), 1638 } 1639 } 1640 1641 func (s TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMaxUpperValue) WithValue(value float64) *TsCndSpecThresholdAlertingCfg_FieldSubPathValue { 1642 return s.FieldPath().WithIValue(value).(*TsCndSpecThresholdAlertingCfg_FieldSubPathValue) 1643 } 1644 1645 func (s TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMaxUpperValue) WithArrayOfValues(values []float64) *TsCndSpecThresholdAlertingCfg_FieldSubPathArrayOfValues { 1646 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecThresholdAlertingCfg_FieldSubPathArrayOfValues) 1647 } 1648 1649 type TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMaxUpperIsInclusive struct{} 1650 1651 func (TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMaxUpperIsInclusive) FieldPath() *TsCndSpecThresholdAlertingCfg_FieldSubPath { 1652 return &TsCndSpecThresholdAlertingCfg_FieldSubPath{ 1653 selector: TsCndSpecThresholdAlertingCfg_FieldPathSelectorPerQueryThresholds, 1654 subPath: NewTsCndSpecThresholdAlertingCfgAlertingThresholdsFieldPathBuilder().MaxUpper().IsInclusive().FieldPath(), 1655 } 1656 } 1657 1658 func (s TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMaxUpperIsInclusive) WithValue(value bool) *TsCndSpecThresholdAlertingCfg_FieldSubPathValue { 1659 return s.FieldPath().WithIValue(value).(*TsCndSpecThresholdAlertingCfg_FieldSubPathValue) 1660 } 1661 1662 func (s TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMaxUpperIsInclusive) WithArrayOfValues(values []bool) *TsCndSpecThresholdAlertingCfg_FieldSubPathArrayOfValues { 1663 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecThresholdAlertingCfg_FieldSubPathArrayOfValues) 1664 } 1665 1666 type TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMaxLower struct{} 1667 1668 func (TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMaxLower) FieldPath() *TsCndSpecThresholdAlertingCfg_FieldSubPath { 1669 return &TsCndSpecThresholdAlertingCfg_FieldSubPath{ 1670 selector: TsCndSpecThresholdAlertingCfg_FieldPathSelectorPerQueryThresholds, 1671 subPath: NewTsCndSpecThresholdAlertingCfgAlertingThresholdsFieldPathBuilder().MaxLower().FieldPath(), 1672 } 1673 } 1674 1675 func (s TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMaxLower) WithValue(value *AlertingThreshold) *TsCndSpecThresholdAlertingCfg_FieldSubPathValue { 1676 return s.FieldPath().WithIValue(value).(*TsCndSpecThresholdAlertingCfg_FieldSubPathValue) 1677 } 1678 1679 func (s TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMaxLower) WithArrayOfValues(values []*AlertingThreshold) *TsCndSpecThresholdAlertingCfg_FieldSubPathArrayOfValues { 1680 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecThresholdAlertingCfg_FieldSubPathArrayOfValues) 1681 } 1682 1683 func (TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMaxLower) Value() TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMaxLowerValue { 1684 return TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMaxLowerValue{} 1685 } 1686 1687 func (TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMaxLower) IsInclusive() TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMaxLowerIsInclusive { 1688 return TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMaxLowerIsInclusive{} 1689 } 1690 1691 type TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMaxLowerValue struct{} 1692 1693 func (TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMaxLowerValue) FieldPath() *TsCndSpecThresholdAlertingCfg_FieldSubPath { 1694 return &TsCndSpecThresholdAlertingCfg_FieldSubPath{ 1695 selector: TsCndSpecThresholdAlertingCfg_FieldPathSelectorPerQueryThresholds, 1696 subPath: NewTsCndSpecThresholdAlertingCfgAlertingThresholdsFieldPathBuilder().MaxLower().Value().FieldPath(), 1697 } 1698 } 1699 1700 func (s TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMaxLowerValue) WithValue(value float64) *TsCndSpecThresholdAlertingCfg_FieldSubPathValue { 1701 return s.FieldPath().WithIValue(value).(*TsCndSpecThresholdAlertingCfg_FieldSubPathValue) 1702 } 1703 1704 func (s TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMaxLowerValue) WithArrayOfValues(values []float64) *TsCndSpecThresholdAlertingCfg_FieldSubPathArrayOfValues { 1705 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecThresholdAlertingCfg_FieldSubPathArrayOfValues) 1706 } 1707 1708 type TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMaxLowerIsInclusive struct{} 1709 1710 func (TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMaxLowerIsInclusive) FieldPath() *TsCndSpecThresholdAlertingCfg_FieldSubPath { 1711 return &TsCndSpecThresholdAlertingCfg_FieldSubPath{ 1712 selector: TsCndSpecThresholdAlertingCfg_FieldPathSelectorPerQueryThresholds, 1713 subPath: NewTsCndSpecThresholdAlertingCfgAlertingThresholdsFieldPathBuilder().MaxLower().IsInclusive().FieldPath(), 1714 } 1715 } 1716 1717 func (s TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMaxLowerIsInclusive) WithValue(value bool) *TsCndSpecThresholdAlertingCfg_FieldSubPathValue { 1718 return s.FieldPath().WithIValue(value).(*TsCndSpecThresholdAlertingCfg_FieldSubPathValue) 1719 } 1720 1721 func (s TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMaxLowerIsInclusive) WithArrayOfValues(values []bool) *TsCndSpecThresholdAlertingCfg_FieldSubPathArrayOfValues { 1722 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecThresholdAlertingCfg_FieldSubPathArrayOfValues) 1723 } 1724 1725 type TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMinUpper struct{} 1726 1727 func (TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMinUpper) FieldPath() *TsCndSpecThresholdAlertingCfg_FieldSubPath { 1728 return &TsCndSpecThresholdAlertingCfg_FieldSubPath{ 1729 selector: TsCndSpecThresholdAlertingCfg_FieldPathSelectorPerQueryThresholds, 1730 subPath: NewTsCndSpecThresholdAlertingCfgAlertingThresholdsFieldPathBuilder().MinUpper().FieldPath(), 1731 } 1732 } 1733 1734 func (s TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMinUpper) WithValue(value *AlertingThreshold) *TsCndSpecThresholdAlertingCfg_FieldSubPathValue { 1735 return s.FieldPath().WithIValue(value).(*TsCndSpecThresholdAlertingCfg_FieldSubPathValue) 1736 } 1737 1738 func (s TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMinUpper) WithArrayOfValues(values []*AlertingThreshold) *TsCndSpecThresholdAlertingCfg_FieldSubPathArrayOfValues { 1739 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecThresholdAlertingCfg_FieldSubPathArrayOfValues) 1740 } 1741 1742 func (TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMinUpper) Value() TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMinUpperValue { 1743 return TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMinUpperValue{} 1744 } 1745 1746 func (TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMinUpper) IsInclusive() TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMinUpperIsInclusive { 1747 return TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMinUpperIsInclusive{} 1748 } 1749 1750 type TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMinUpperValue struct{} 1751 1752 func (TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMinUpperValue) FieldPath() *TsCndSpecThresholdAlertingCfg_FieldSubPath { 1753 return &TsCndSpecThresholdAlertingCfg_FieldSubPath{ 1754 selector: TsCndSpecThresholdAlertingCfg_FieldPathSelectorPerQueryThresholds, 1755 subPath: NewTsCndSpecThresholdAlertingCfgAlertingThresholdsFieldPathBuilder().MinUpper().Value().FieldPath(), 1756 } 1757 } 1758 1759 func (s TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMinUpperValue) WithValue(value float64) *TsCndSpecThresholdAlertingCfg_FieldSubPathValue { 1760 return s.FieldPath().WithIValue(value).(*TsCndSpecThresholdAlertingCfg_FieldSubPathValue) 1761 } 1762 1763 func (s TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMinUpperValue) WithArrayOfValues(values []float64) *TsCndSpecThresholdAlertingCfg_FieldSubPathArrayOfValues { 1764 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecThresholdAlertingCfg_FieldSubPathArrayOfValues) 1765 } 1766 1767 type TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMinUpperIsInclusive struct{} 1768 1769 func (TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMinUpperIsInclusive) FieldPath() *TsCndSpecThresholdAlertingCfg_FieldSubPath { 1770 return &TsCndSpecThresholdAlertingCfg_FieldSubPath{ 1771 selector: TsCndSpecThresholdAlertingCfg_FieldPathSelectorPerQueryThresholds, 1772 subPath: NewTsCndSpecThresholdAlertingCfgAlertingThresholdsFieldPathBuilder().MinUpper().IsInclusive().FieldPath(), 1773 } 1774 } 1775 1776 func (s TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMinUpperIsInclusive) WithValue(value bool) *TsCndSpecThresholdAlertingCfg_FieldSubPathValue { 1777 return s.FieldPath().WithIValue(value).(*TsCndSpecThresholdAlertingCfg_FieldSubPathValue) 1778 } 1779 1780 func (s TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMinUpperIsInclusive) WithArrayOfValues(values []bool) *TsCndSpecThresholdAlertingCfg_FieldSubPathArrayOfValues { 1781 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecThresholdAlertingCfg_FieldSubPathArrayOfValues) 1782 } 1783 1784 type TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMinLower struct{} 1785 1786 func (TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMinLower) FieldPath() *TsCndSpecThresholdAlertingCfg_FieldSubPath { 1787 return &TsCndSpecThresholdAlertingCfg_FieldSubPath{ 1788 selector: TsCndSpecThresholdAlertingCfg_FieldPathSelectorPerQueryThresholds, 1789 subPath: NewTsCndSpecThresholdAlertingCfgAlertingThresholdsFieldPathBuilder().MinLower().FieldPath(), 1790 } 1791 } 1792 1793 func (s TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMinLower) WithValue(value *AlertingThreshold) *TsCndSpecThresholdAlertingCfg_FieldSubPathValue { 1794 return s.FieldPath().WithIValue(value).(*TsCndSpecThresholdAlertingCfg_FieldSubPathValue) 1795 } 1796 1797 func (s TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMinLower) WithArrayOfValues(values []*AlertingThreshold) *TsCndSpecThresholdAlertingCfg_FieldSubPathArrayOfValues { 1798 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecThresholdAlertingCfg_FieldSubPathArrayOfValues) 1799 } 1800 1801 func (TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMinLower) Value() TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMinLowerValue { 1802 return TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMinLowerValue{} 1803 } 1804 1805 func (TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMinLower) IsInclusive() TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMinLowerIsInclusive { 1806 return TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMinLowerIsInclusive{} 1807 } 1808 1809 type TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMinLowerValue struct{} 1810 1811 func (TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMinLowerValue) FieldPath() *TsCndSpecThresholdAlertingCfg_FieldSubPath { 1812 return &TsCndSpecThresholdAlertingCfg_FieldSubPath{ 1813 selector: TsCndSpecThresholdAlertingCfg_FieldPathSelectorPerQueryThresholds, 1814 subPath: NewTsCndSpecThresholdAlertingCfgAlertingThresholdsFieldPathBuilder().MinLower().Value().FieldPath(), 1815 } 1816 } 1817 1818 func (s TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMinLowerValue) WithValue(value float64) *TsCndSpecThresholdAlertingCfg_FieldSubPathValue { 1819 return s.FieldPath().WithIValue(value).(*TsCndSpecThresholdAlertingCfg_FieldSubPathValue) 1820 } 1821 1822 func (s TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMinLowerValue) WithArrayOfValues(values []float64) *TsCndSpecThresholdAlertingCfg_FieldSubPathArrayOfValues { 1823 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecThresholdAlertingCfg_FieldSubPathArrayOfValues) 1824 } 1825 1826 type TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMinLowerIsInclusive struct{} 1827 1828 func (TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMinLowerIsInclusive) FieldPath() *TsCndSpecThresholdAlertingCfg_FieldSubPath { 1829 return &TsCndSpecThresholdAlertingCfg_FieldSubPath{ 1830 selector: TsCndSpecThresholdAlertingCfg_FieldPathSelectorPerQueryThresholds, 1831 subPath: NewTsCndSpecThresholdAlertingCfgAlertingThresholdsFieldPathBuilder().MinLower().IsInclusive().FieldPath(), 1832 } 1833 } 1834 1835 func (s TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMinLowerIsInclusive) WithValue(value bool) *TsCndSpecThresholdAlertingCfg_FieldSubPathValue { 1836 return s.FieldPath().WithIValue(value).(*TsCndSpecThresholdAlertingCfg_FieldSubPathValue) 1837 } 1838 1839 func (s TsCndSpec_ThresholdAlertingCfgPathSelectorPerQueryThresholdsMinLowerIsInclusive) WithArrayOfValues(values []bool) *TsCndSpecThresholdAlertingCfg_FieldSubPathArrayOfValues { 1840 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecThresholdAlertingCfg_FieldSubPathArrayOfValues) 1841 } 1842 1843 type TsCndSpec_ThresholdAlertingCfgPathSelectorAdaptiveThresholdsDetectionPeriod struct{} 1844 1845 func (TsCndSpec_ThresholdAlertingCfgPathSelectorAdaptiveThresholdsDetectionPeriod) FieldPath() *TsCndSpecThresholdAlertingCfg_FieldTerminalPath { 1846 return &TsCndSpecThresholdAlertingCfg_FieldTerminalPath{selector: TsCndSpecThresholdAlertingCfg_FieldPathSelectorAdaptiveThresholdsDetectionPeriod} 1847 } 1848 1849 func (s TsCndSpec_ThresholdAlertingCfgPathSelectorAdaptiveThresholdsDetectionPeriod) WithValue(value *durationpb.Duration) *TsCndSpecThresholdAlertingCfg_FieldTerminalPathValue { 1850 return s.FieldPath().WithIValue(value).(*TsCndSpecThresholdAlertingCfg_FieldTerminalPathValue) 1851 } 1852 1853 func (s TsCndSpec_ThresholdAlertingCfgPathSelectorAdaptiveThresholdsDetectionPeriod) WithArrayOfValues(values []*durationpb.Duration) *TsCndSpecThresholdAlertingCfg_FieldTerminalPathArrayOfValues { 1854 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecThresholdAlertingCfg_FieldTerminalPathArrayOfValues) 1855 } 1856 1857 type TsCndSpecAnomalyAlertingCfgFieldPathBuilder struct{} 1858 1859 func NewTsCndSpecAnomalyAlertingCfgFieldPathBuilder() TsCndSpecAnomalyAlertingCfgFieldPathBuilder { 1860 return TsCndSpecAnomalyAlertingCfgFieldPathBuilder{} 1861 } 1862 func (TsCndSpecAnomalyAlertingCfgFieldPathBuilder) AnalysisWindow() TsCndSpec_AnomalyAlertingCfgPathSelectorAnalysisWindow { 1863 return TsCndSpec_AnomalyAlertingCfgPathSelectorAnalysisWindow{} 1864 } 1865 func (TsCndSpecAnomalyAlertingCfgFieldPathBuilder) StepInterval() TsCndSpec_AnomalyAlertingCfgPathSelectorStepInterval { 1866 return TsCndSpec_AnomalyAlertingCfgPathSelectorStepInterval{} 1867 } 1868 func (TsCndSpecAnomalyAlertingCfgFieldPathBuilder) TrainStepInterval() TsCndSpec_AnomalyAlertingCfgPathSelectorTrainStepInterval { 1869 return TsCndSpec_AnomalyAlertingCfgPathSelectorTrainStepInterval{} 1870 } 1871 func (TsCndSpecAnomalyAlertingCfgFieldPathBuilder) AlignmentPeriod() TsCndSpec_AnomalyAlertingCfgPathSelectorAlignmentPeriod { 1872 return TsCndSpec_AnomalyAlertingCfgPathSelectorAlignmentPeriod{} 1873 } 1874 func (TsCndSpecAnomalyAlertingCfgFieldPathBuilder) LstmAutoencoder() TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoder { 1875 return TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoder{} 1876 } 1877 func (TsCndSpecAnomalyAlertingCfgFieldPathBuilder) RaiseAfter() TsCndSpec_AnomalyAlertingCfgPathSelectorRaiseAfter { 1878 return TsCndSpec_AnomalyAlertingCfgPathSelectorRaiseAfter{} 1879 } 1880 func (TsCndSpecAnomalyAlertingCfgFieldPathBuilder) SilenceAfter() TsCndSpec_AnomalyAlertingCfgPathSelectorSilenceAfter { 1881 return TsCndSpec_AnomalyAlertingCfgPathSelectorSilenceAfter{} 1882 } 1883 1884 type TsCndSpec_AnomalyAlertingCfgPathSelectorAnalysisWindow struct{} 1885 1886 func (TsCndSpec_AnomalyAlertingCfgPathSelectorAnalysisWindow) FieldPath() *TsCndSpecAnomalyAlertingCfg_FieldTerminalPath { 1887 return &TsCndSpecAnomalyAlertingCfg_FieldTerminalPath{selector: TsCndSpecAnomalyAlertingCfg_FieldPathSelectorAnalysisWindow} 1888 } 1889 1890 func (s TsCndSpec_AnomalyAlertingCfgPathSelectorAnalysisWindow) WithValue(value *durationpb.Duration) *TsCndSpecAnomalyAlertingCfg_FieldTerminalPathValue { 1891 return s.FieldPath().WithIValue(value).(*TsCndSpecAnomalyAlertingCfg_FieldTerminalPathValue) 1892 } 1893 1894 func (s TsCndSpec_AnomalyAlertingCfgPathSelectorAnalysisWindow) WithArrayOfValues(values []*durationpb.Duration) *TsCndSpecAnomalyAlertingCfg_FieldTerminalPathArrayOfValues { 1895 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecAnomalyAlertingCfg_FieldTerminalPathArrayOfValues) 1896 } 1897 1898 type TsCndSpec_AnomalyAlertingCfgPathSelectorStepInterval struct{} 1899 1900 func (TsCndSpec_AnomalyAlertingCfgPathSelectorStepInterval) FieldPath() *TsCndSpecAnomalyAlertingCfg_FieldTerminalPath { 1901 return &TsCndSpecAnomalyAlertingCfg_FieldTerminalPath{selector: TsCndSpecAnomalyAlertingCfg_FieldPathSelectorStepInterval} 1902 } 1903 1904 func (s TsCndSpec_AnomalyAlertingCfgPathSelectorStepInterval) WithValue(value *durationpb.Duration) *TsCndSpecAnomalyAlertingCfg_FieldTerminalPathValue { 1905 return s.FieldPath().WithIValue(value).(*TsCndSpecAnomalyAlertingCfg_FieldTerminalPathValue) 1906 } 1907 1908 func (s TsCndSpec_AnomalyAlertingCfgPathSelectorStepInterval) WithArrayOfValues(values []*durationpb.Duration) *TsCndSpecAnomalyAlertingCfg_FieldTerminalPathArrayOfValues { 1909 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecAnomalyAlertingCfg_FieldTerminalPathArrayOfValues) 1910 } 1911 1912 type TsCndSpec_AnomalyAlertingCfgPathSelectorTrainStepInterval struct{} 1913 1914 func (TsCndSpec_AnomalyAlertingCfgPathSelectorTrainStepInterval) FieldPath() *TsCndSpecAnomalyAlertingCfg_FieldTerminalPath { 1915 return &TsCndSpecAnomalyAlertingCfg_FieldTerminalPath{selector: TsCndSpecAnomalyAlertingCfg_FieldPathSelectorTrainStepInterval} 1916 } 1917 1918 func (s TsCndSpec_AnomalyAlertingCfgPathSelectorTrainStepInterval) WithValue(value *durationpb.Duration) *TsCndSpecAnomalyAlertingCfg_FieldTerminalPathValue { 1919 return s.FieldPath().WithIValue(value).(*TsCndSpecAnomalyAlertingCfg_FieldTerminalPathValue) 1920 } 1921 1922 func (s TsCndSpec_AnomalyAlertingCfgPathSelectorTrainStepInterval) WithArrayOfValues(values []*durationpb.Duration) *TsCndSpecAnomalyAlertingCfg_FieldTerminalPathArrayOfValues { 1923 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecAnomalyAlertingCfg_FieldTerminalPathArrayOfValues) 1924 } 1925 1926 type TsCndSpec_AnomalyAlertingCfgPathSelectorAlignmentPeriod struct{} 1927 1928 func (TsCndSpec_AnomalyAlertingCfgPathSelectorAlignmentPeriod) FieldPath() *TsCndSpecAnomalyAlertingCfg_FieldTerminalPath { 1929 return &TsCndSpecAnomalyAlertingCfg_FieldTerminalPath{selector: TsCndSpecAnomalyAlertingCfg_FieldPathSelectorAlignmentPeriod} 1930 } 1931 1932 func (s TsCndSpec_AnomalyAlertingCfgPathSelectorAlignmentPeriod) WithValue(value *durationpb.Duration) *TsCndSpecAnomalyAlertingCfg_FieldTerminalPathValue { 1933 return s.FieldPath().WithIValue(value).(*TsCndSpecAnomalyAlertingCfg_FieldTerminalPathValue) 1934 } 1935 1936 func (s TsCndSpec_AnomalyAlertingCfgPathSelectorAlignmentPeriod) WithArrayOfValues(values []*durationpb.Duration) *TsCndSpecAnomalyAlertingCfg_FieldTerminalPathArrayOfValues { 1937 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecAnomalyAlertingCfg_FieldTerminalPathArrayOfValues) 1938 } 1939 1940 type TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoder struct{} 1941 1942 func (TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoder) FieldPath() *TsCndSpecAnomalyAlertingCfg_FieldTerminalPath { 1943 return &TsCndSpecAnomalyAlertingCfg_FieldTerminalPath{selector: TsCndSpecAnomalyAlertingCfg_FieldPathSelectorLstmAutoencoder} 1944 } 1945 1946 func (s TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoder) WithValue(value *TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoder) *TsCndSpecAnomalyAlertingCfg_FieldTerminalPathValue { 1947 return s.FieldPath().WithIValue(value).(*TsCndSpecAnomalyAlertingCfg_FieldTerminalPathValue) 1948 } 1949 1950 func (s TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoder) WithArrayOfValues(values []*TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoder) *TsCndSpecAnomalyAlertingCfg_FieldTerminalPathArrayOfValues { 1951 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecAnomalyAlertingCfg_FieldTerminalPathArrayOfValues) 1952 } 1953 1954 func (TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoder) WithSubPath(subPath TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldPath) *TsCndSpecAnomalyAlertingCfg_FieldSubPath { 1955 return &TsCndSpecAnomalyAlertingCfg_FieldSubPath{selector: TsCndSpecAnomalyAlertingCfg_FieldPathSelectorLstmAutoencoder, subPath: subPath} 1956 } 1957 1958 func (s TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoder) WithSubValue(subPathValue TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldPathValue) *TsCndSpecAnomalyAlertingCfg_FieldSubPathValue { 1959 return &TsCndSpecAnomalyAlertingCfg_FieldSubPathValue{TsCndSpecAnomalyAlertingCfg_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 1960 } 1961 1962 func (s TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoder) WithSubArrayOfValues(subPathArrayOfValues TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldPathArrayOfValues) *TsCndSpecAnomalyAlertingCfg_FieldSubPathArrayOfValues { 1963 return &TsCndSpecAnomalyAlertingCfg_FieldSubPathArrayOfValues{TsCndSpecAnomalyAlertingCfg_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 1964 } 1965 1966 func (s TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoder) WithSubArrayItemValue(subPathArrayItemValue TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldPathArrayItemValue) *TsCndSpecAnomalyAlertingCfg_FieldSubPathArrayItemValue { 1967 return &TsCndSpecAnomalyAlertingCfg_FieldSubPathArrayItemValue{TsCndSpecAnomalyAlertingCfg_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 1968 } 1969 1970 func (TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoder) HiddenSize() TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderHiddenSize { 1971 return TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderHiddenSize{} 1972 } 1973 1974 func (TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoder) LearnRate() TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderLearnRate { 1975 return TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderLearnRate{} 1976 } 1977 1978 func (TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoder) MaxTrainingEpochs() TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderMaxTrainingEpochs { 1979 return TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderMaxTrainingEpochs{} 1980 } 1981 1982 func (TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoder) MinTrainingEpochs() TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderMinTrainingEpochs { 1983 return TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderMinTrainingEpochs{} 1984 } 1985 1986 func (TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoder) AcceptableTrainingError() TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderAcceptableTrainingError { 1987 return TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderAcceptableTrainingError{} 1988 } 1989 1990 func (TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoder) TrainingPeriod() TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderTrainingPeriod { 1991 return TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderTrainingPeriod{} 1992 } 1993 1994 func (TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoder) CheckPeriodFraction() TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderCheckPeriodFraction { 1995 return TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderCheckPeriodFraction{} 1996 } 1997 1998 func (TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoder) TeacherForceAtInference() TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderTeacherForceAtInference { 1999 return TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderTeacherForceAtInference{} 2000 } 2001 2002 type TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderHiddenSize struct{} 2003 2004 func (TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderHiddenSize) FieldPath() *TsCndSpecAnomalyAlertingCfg_FieldSubPath { 2005 return &TsCndSpecAnomalyAlertingCfg_FieldSubPath{ 2006 selector: TsCndSpecAnomalyAlertingCfg_FieldPathSelectorLstmAutoencoder, 2007 subPath: NewTsCndSpecAnomalyAlertingCfgLstmAutoEncoderFieldPathBuilder().HiddenSize().FieldPath(), 2008 } 2009 } 2010 2011 func (s TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderHiddenSize) WithValue(value int32) *TsCndSpecAnomalyAlertingCfg_FieldSubPathValue { 2012 return s.FieldPath().WithIValue(value).(*TsCndSpecAnomalyAlertingCfg_FieldSubPathValue) 2013 } 2014 2015 func (s TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderHiddenSize) WithArrayOfValues(values []int32) *TsCndSpecAnomalyAlertingCfg_FieldSubPathArrayOfValues { 2016 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecAnomalyAlertingCfg_FieldSubPathArrayOfValues) 2017 } 2018 2019 type TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderLearnRate struct{} 2020 2021 func (TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderLearnRate) FieldPath() *TsCndSpecAnomalyAlertingCfg_FieldSubPath { 2022 return &TsCndSpecAnomalyAlertingCfg_FieldSubPath{ 2023 selector: TsCndSpecAnomalyAlertingCfg_FieldPathSelectorLstmAutoencoder, 2024 subPath: NewTsCndSpecAnomalyAlertingCfgLstmAutoEncoderFieldPathBuilder().LearnRate().FieldPath(), 2025 } 2026 } 2027 2028 func (s TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderLearnRate) WithValue(value float64) *TsCndSpecAnomalyAlertingCfg_FieldSubPathValue { 2029 return s.FieldPath().WithIValue(value).(*TsCndSpecAnomalyAlertingCfg_FieldSubPathValue) 2030 } 2031 2032 func (s TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderLearnRate) WithArrayOfValues(values []float64) *TsCndSpecAnomalyAlertingCfg_FieldSubPathArrayOfValues { 2033 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecAnomalyAlertingCfg_FieldSubPathArrayOfValues) 2034 } 2035 2036 type TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderMaxTrainingEpochs struct{} 2037 2038 func (TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderMaxTrainingEpochs) FieldPath() *TsCndSpecAnomalyAlertingCfg_FieldSubPath { 2039 return &TsCndSpecAnomalyAlertingCfg_FieldSubPath{ 2040 selector: TsCndSpecAnomalyAlertingCfg_FieldPathSelectorLstmAutoencoder, 2041 subPath: NewTsCndSpecAnomalyAlertingCfgLstmAutoEncoderFieldPathBuilder().MaxTrainingEpochs().FieldPath(), 2042 } 2043 } 2044 2045 func (s TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderMaxTrainingEpochs) WithValue(value int32) *TsCndSpecAnomalyAlertingCfg_FieldSubPathValue { 2046 return s.FieldPath().WithIValue(value).(*TsCndSpecAnomalyAlertingCfg_FieldSubPathValue) 2047 } 2048 2049 func (s TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderMaxTrainingEpochs) WithArrayOfValues(values []int32) *TsCndSpecAnomalyAlertingCfg_FieldSubPathArrayOfValues { 2050 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecAnomalyAlertingCfg_FieldSubPathArrayOfValues) 2051 } 2052 2053 type TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderMinTrainingEpochs struct{} 2054 2055 func (TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderMinTrainingEpochs) FieldPath() *TsCndSpecAnomalyAlertingCfg_FieldSubPath { 2056 return &TsCndSpecAnomalyAlertingCfg_FieldSubPath{ 2057 selector: TsCndSpecAnomalyAlertingCfg_FieldPathSelectorLstmAutoencoder, 2058 subPath: NewTsCndSpecAnomalyAlertingCfgLstmAutoEncoderFieldPathBuilder().MinTrainingEpochs().FieldPath(), 2059 } 2060 } 2061 2062 func (s TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderMinTrainingEpochs) WithValue(value int32) *TsCndSpecAnomalyAlertingCfg_FieldSubPathValue { 2063 return s.FieldPath().WithIValue(value).(*TsCndSpecAnomalyAlertingCfg_FieldSubPathValue) 2064 } 2065 2066 func (s TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderMinTrainingEpochs) WithArrayOfValues(values []int32) *TsCndSpecAnomalyAlertingCfg_FieldSubPathArrayOfValues { 2067 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecAnomalyAlertingCfg_FieldSubPathArrayOfValues) 2068 } 2069 2070 type TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderAcceptableTrainingError struct{} 2071 2072 func (TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderAcceptableTrainingError) FieldPath() *TsCndSpecAnomalyAlertingCfg_FieldSubPath { 2073 return &TsCndSpecAnomalyAlertingCfg_FieldSubPath{ 2074 selector: TsCndSpecAnomalyAlertingCfg_FieldPathSelectorLstmAutoencoder, 2075 subPath: NewTsCndSpecAnomalyAlertingCfgLstmAutoEncoderFieldPathBuilder().AcceptableTrainingError().FieldPath(), 2076 } 2077 } 2078 2079 func (s TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderAcceptableTrainingError) WithValue(value float64) *TsCndSpecAnomalyAlertingCfg_FieldSubPathValue { 2080 return s.FieldPath().WithIValue(value).(*TsCndSpecAnomalyAlertingCfg_FieldSubPathValue) 2081 } 2082 2083 func (s TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderAcceptableTrainingError) WithArrayOfValues(values []float64) *TsCndSpecAnomalyAlertingCfg_FieldSubPathArrayOfValues { 2084 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecAnomalyAlertingCfg_FieldSubPathArrayOfValues) 2085 } 2086 2087 type TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderTrainingPeriod struct{} 2088 2089 func (TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderTrainingPeriod) FieldPath() *TsCndSpecAnomalyAlertingCfg_FieldSubPath { 2090 return &TsCndSpecAnomalyAlertingCfg_FieldSubPath{ 2091 selector: TsCndSpecAnomalyAlertingCfg_FieldPathSelectorLstmAutoencoder, 2092 subPath: NewTsCndSpecAnomalyAlertingCfgLstmAutoEncoderFieldPathBuilder().TrainingPeriod().FieldPath(), 2093 } 2094 } 2095 2096 func (s TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderTrainingPeriod) WithValue(value *durationpb.Duration) *TsCndSpecAnomalyAlertingCfg_FieldSubPathValue { 2097 return s.FieldPath().WithIValue(value).(*TsCndSpecAnomalyAlertingCfg_FieldSubPathValue) 2098 } 2099 2100 func (s TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderTrainingPeriod) WithArrayOfValues(values []*durationpb.Duration) *TsCndSpecAnomalyAlertingCfg_FieldSubPathArrayOfValues { 2101 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecAnomalyAlertingCfg_FieldSubPathArrayOfValues) 2102 } 2103 2104 type TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderCheckPeriodFraction struct{} 2105 2106 func (TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderCheckPeriodFraction) FieldPath() *TsCndSpecAnomalyAlertingCfg_FieldSubPath { 2107 return &TsCndSpecAnomalyAlertingCfg_FieldSubPath{ 2108 selector: TsCndSpecAnomalyAlertingCfg_FieldPathSelectorLstmAutoencoder, 2109 subPath: NewTsCndSpecAnomalyAlertingCfgLstmAutoEncoderFieldPathBuilder().CheckPeriodFraction().FieldPath(), 2110 } 2111 } 2112 2113 func (s TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderCheckPeriodFraction) WithValue(value float64) *TsCndSpecAnomalyAlertingCfg_FieldSubPathValue { 2114 return s.FieldPath().WithIValue(value).(*TsCndSpecAnomalyAlertingCfg_FieldSubPathValue) 2115 } 2116 2117 func (s TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderCheckPeriodFraction) WithArrayOfValues(values []float64) *TsCndSpecAnomalyAlertingCfg_FieldSubPathArrayOfValues { 2118 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecAnomalyAlertingCfg_FieldSubPathArrayOfValues) 2119 } 2120 2121 type TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderTeacherForceAtInference struct{} 2122 2123 func (TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderTeacherForceAtInference) FieldPath() *TsCndSpecAnomalyAlertingCfg_FieldSubPath { 2124 return &TsCndSpecAnomalyAlertingCfg_FieldSubPath{ 2125 selector: TsCndSpecAnomalyAlertingCfg_FieldPathSelectorLstmAutoencoder, 2126 subPath: NewTsCndSpecAnomalyAlertingCfgLstmAutoEncoderFieldPathBuilder().TeacherForceAtInference().FieldPath(), 2127 } 2128 } 2129 2130 func (s TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderTeacherForceAtInference) WithValue(value bool) *TsCndSpecAnomalyAlertingCfg_FieldSubPathValue { 2131 return s.FieldPath().WithIValue(value).(*TsCndSpecAnomalyAlertingCfg_FieldSubPathValue) 2132 } 2133 2134 func (s TsCndSpec_AnomalyAlertingCfgPathSelectorLstmAutoencoderTeacherForceAtInference) WithArrayOfValues(values []bool) *TsCndSpecAnomalyAlertingCfg_FieldSubPathArrayOfValues { 2135 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecAnomalyAlertingCfg_FieldSubPathArrayOfValues) 2136 } 2137 2138 type TsCndSpec_AnomalyAlertingCfgPathSelectorRaiseAfter struct{} 2139 2140 func (TsCndSpec_AnomalyAlertingCfgPathSelectorRaiseAfter) FieldPath() *TsCndSpecAnomalyAlertingCfg_FieldTerminalPath { 2141 return &TsCndSpecAnomalyAlertingCfg_FieldTerminalPath{selector: TsCndSpecAnomalyAlertingCfg_FieldPathSelectorRaiseAfter} 2142 } 2143 2144 func (s TsCndSpec_AnomalyAlertingCfgPathSelectorRaiseAfter) WithValue(value *durationpb.Duration) *TsCndSpecAnomalyAlertingCfg_FieldTerminalPathValue { 2145 return s.FieldPath().WithIValue(value).(*TsCndSpecAnomalyAlertingCfg_FieldTerminalPathValue) 2146 } 2147 2148 func (s TsCndSpec_AnomalyAlertingCfgPathSelectorRaiseAfter) WithArrayOfValues(values []*durationpb.Duration) *TsCndSpecAnomalyAlertingCfg_FieldTerminalPathArrayOfValues { 2149 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecAnomalyAlertingCfg_FieldTerminalPathArrayOfValues) 2150 } 2151 2152 type TsCndSpec_AnomalyAlertingCfgPathSelectorSilenceAfter struct{} 2153 2154 func (TsCndSpec_AnomalyAlertingCfgPathSelectorSilenceAfter) FieldPath() *TsCndSpecAnomalyAlertingCfg_FieldTerminalPath { 2155 return &TsCndSpecAnomalyAlertingCfg_FieldTerminalPath{selector: TsCndSpecAnomalyAlertingCfg_FieldPathSelectorSilenceAfter} 2156 } 2157 2158 func (s TsCndSpec_AnomalyAlertingCfgPathSelectorSilenceAfter) WithValue(value *durationpb.Duration) *TsCndSpecAnomalyAlertingCfg_FieldTerminalPathValue { 2159 return s.FieldPath().WithIValue(value).(*TsCndSpecAnomalyAlertingCfg_FieldTerminalPathValue) 2160 } 2161 2162 func (s TsCndSpec_AnomalyAlertingCfgPathSelectorSilenceAfter) WithArrayOfValues(values []*durationpb.Duration) *TsCndSpecAnomalyAlertingCfg_FieldTerminalPathArrayOfValues { 2163 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecAnomalyAlertingCfg_FieldTerminalPathArrayOfValues) 2164 } 2165 2166 type TsCndSpecThresholdAlertingCfgAlertingThresholdsFieldPathBuilder struct{} 2167 2168 func NewTsCndSpecThresholdAlertingCfgAlertingThresholdsFieldPathBuilder() TsCndSpecThresholdAlertingCfgAlertingThresholdsFieldPathBuilder { 2169 return TsCndSpecThresholdAlertingCfgAlertingThresholdsFieldPathBuilder{} 2170 } 2171 func (TsCndSpecThresholdAlertingCfgAlertingThresholdsFieldPathBuilder) AutoAdaptUpper() TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorAutoAdaptUpper { 2172 return TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorAutoAdaptUpper{} 2173 } 2174 func (TsCndSpecThresholdAlertingCfgAlertingThresholdsFieldPathBuilder) AutoAdaptLower() TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorAutoAdaptLower { 2175 return TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorAutoAdaptLower{} 2176 } 2177 func (TsCndSpecThresholdAlertingCfgAlertingThresholdsFieldPathBuilder) MaxUpper() TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxUpper { 2178 return TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxUpper{} 2179 } 2180 func (TsCndSpecThresholdAlertingCfgAlertingThresholdsFieldPathBuilder) MaxLower() TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxLower { 2181 return TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxLower{} 2182 } 2183 func (TsCndSpecThresholdAlertingCfgAlertingThresholdsFieldPathBuilder) MinUpper() TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinUpper { 2184 return TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinUpper{} 2185 } 2186 func (TsCndSpecThresholdAlertingCfgAlertingThresholdsFieldPathBuilder) MinLower() TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinLower { 2187 return TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinLower{} 2188 } 2189 2190 type TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorAutoAdaptUpper struct{} 2191 2192 func (TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorAutoAdaptUpper) FieldPath() *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldTerminalPath { 2193 return &TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldTerminalPath{selector: TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldPathSelectorAutoAdaptUpper} 2194 } 2195 2196 func (s TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorAutoAdaptUpper) WithValue(value bool) *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldTerminalPathValue { 2197 return s.FieldPath().WithIValue(value).(*TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldTerminalPathValue) 2198 } 2199 2200 func (s TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorAutoAdaptUpper) WithArrayOfValues(values []bool) *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldTerminalPathArrayOfValues { 2201 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldTerminalPathArrayOfValues) 2202 } 2203 2204 type TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorAutoAdaptLower struct{} 2205 2206 func (TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorAutoAdaptLower) FieldPath() *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldTerminalPath { 2207 return &TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldTerminalPath{selector: TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldPathSelectorAutoAdaptLower} 2208 } 2209 2210 func (s TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorAutoAdaptLower) WithValue(value bool) *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldTerminalPathValue { 2211 return s.FieldPath().WithIValue(value).(*TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldTerminalPathValue) 2212 } 2213 2214 func (s TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorAutoAdaptLower) WithArrayOfValues(values []bool) *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldTerminalPathArrayOfValues { 2215 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldTerminalPathArrayOfValues) 2216 } 2217 2218 type TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxUpper struct{} 2219 2220 func (TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxUpper) FieldPath() *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldTerminalPath { 2221 return &TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldTerminalPath{selector: TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldPathSelectorMaxUpper} 2222 } 2223 2224 func (s TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxUpper) WithValue(value *AlertingThreshold) *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldTerminalPathValue { 2225 return s.FieldPath().WithIValue(value).(*TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldTerminalPathValue) 2226 } 2227 2228 func (s TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxUpper) WithArrayOfValues(values []*AlertingThreshold) *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldTerminalPathArrayOfValues { 2229 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldTerminalPathArrayOfValues) 2230 } 2231 2232 func (TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxUpper) WithSubPath(subPath AlertingThreshold_FieldPath) *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPath { 2233 return &TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPath{selector: TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldPathSelectorMaxUpper, subPath: subPath} 2234 } 2235 2236 func (s TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxUpper) WithSubValue(subPathValue AlertingThreshold_FieldPathValue) *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathValue { 2237 return &TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathValue{TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 2238 } 2239 2240 func (s TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxUpper) WithSubArrayOfValues(subPathArrayOfValues AlertingThreshold_FieldPathArrayOfValues) *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathArrayOfValues { 2241 return &TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathArrayOfValues{TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 2242 } 2243 2244 func (s TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxUpper) WithSubArrayItemValue(subPathArrayItemValue AlertingThreshold_FieldPathArrayItemValue) *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathArrayItemValue { 2245 return &TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathArrayItemValue{TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 2246 } 2247 2248 func (TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxUpper) Value() TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxUpperValue { 2249 return TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxUpperValue{} 2250 } 2251 2252 func (TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxUpper) IsInclusive() TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxUpperIsInclusive { 2253 return TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxUpperIsInclusive{} 2254 } 2255 2256 type TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxUpperValue struct{} 2257 2258 func (TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxUpperValue) FieldPath() *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPath { 2259 return &TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPath{ 2260 selector: TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldPathSelectorMaxUpper, 2261 subPath: NewAlertingThresholdFieldPathBuilder().Value().FieldPath(), 2262 } 2263 } 2264 2265 func (s TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxUpperValue) WithValue(value float64) *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathValue { 2266 return s.FieldPath().WithIValue(value).(*TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathValue) 2267 } 2268 2269 func (s TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxUpperValue) WithArrayOfValues(values []float64) *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathArrayOfValues { 2270 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathArrayOfValues) 2271 } 2272 2273 type TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxUpperIsInclusive struct{} 2274 2275 func (TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxUpperIsInclusive) FieldPath() *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPath { 2276 return &TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPath{ 2277 selector: TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldPathSelectorMaxUpper, 2278 subPath: NewAlertingThresholdFieldPathBuilder().IsInclusive().FieldPath(), 2279 } 2280 } 2281 2282 func (s TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxUpperIsInclusive) WithValue(value bool) *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathValue { 2283 return s.FieldPath().WithIValue(value).(*TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathValue) 2284 } 2285 2286 func (s TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxUpperIsInclusive) WithArrayOfValues(values []bool) *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathArrayOfValues { 2287 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathArrayOfValues) 2288 } 2289 2290 type TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxLower struct{} 2291 2292 func (TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxLower) FieldPath() *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldTerminalPath { 2293 return &TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldTerminalPath{selector: TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldPathSelectorMaxLower} 2294 } 2295 2296 func (s TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxLower) WithValue(value *AlertingThreshold) *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldTerminalPathValue { 2297 return s.FieldPath().WithIValue(value).(*TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldTerminalPathValue) 2298 } 2299 2300 func (s TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxLower) WithArrayOfValues(values []*AlertingThreshold) *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldTerminalPathArrayOfValues { 2301 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldTerminalPathArrayOfValues) 2302 } 2303 2304 func (TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxLower) WithSubPath(subPath AlertingThreshold_FieldPath) *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPath { 2305 return &TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPath{selector: TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldPathSelectorMaxLower, subPath: subPath} 2306 } 2307 2308 func (s TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxLower) WithSubValue(subPathValue AlertingThreshold_FieldPathValue) *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathValue { 2309 return &TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathValue{TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 2310 } 2311 2312 func (s TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxLower) WithSubArrayOfValues(subPathArrayOfValues AlertingThreshold_FieldPathArrayOfValues) *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathArrayOfValues { 2313 return &TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathArrayOfValues{TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 2314 } 2315 2316 func (s TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxLower) WithSubArrayItemValue(subPathArrayItemValue AlertingThreshold_FieldPathArrayItemValue) *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathArrayItemValue { 2317 return &TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathArrayItemValue{TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 2318 } 2319 2320 func (TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxLower) Value() TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxLowerValue { 2321 return TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxLowerValue{} 2322 } 2323 2324 func (TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxLower) IsInclusive() TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxLowerIsInclusive { 2325 return TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxLowerIsInclusive{} 2326 } 2327 2328 type TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxLowerValue struct{} 2329 2330 func (TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxLowerValue) FieldPath() *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPath { 2331 return &TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPath{ 2332 selector: TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldPathSelectorMaxLower, 2333 subPath: NewAlertingThresholdFieldPathBuilder().Value().FieldPath(), 2334 } 2335 } 2336 2337 func (s TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxLowerValue) WithValue(value float64) *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathValue { 2338 return s.FieldPath().WithIValue(value).(*TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathValue) 2339 } 2340 2341 func (s TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxLowerValue) WithArrayOfValues(values []float64) *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathArrayOfValues { 2342 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathArrayOfValues) 2343 } 2344 2345 type TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxLowerIsInclusive struct{} 2346 2347 func (TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxLowerIsInclusive) FieldPath() *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPath { 2348 return &TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPath{ 2349 selector: TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldPathSelectorMaxLower, 2350 subPath: NewAlertingThresholdFieldPathBuilder().IsInclusive().FieldPath(), 2351 } 2352 } 2353 2354 func (s TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxLowerIsInclusive) WithValue(value bool) *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathValue { 2355 return s.FieldPath().WithIValue(value).(*TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathValue) 2356 } 2357 2358 func (s TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMaxLowerIsInclusive) WithArrayOfValues(values []bool) *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathArrayOfValues { 2359 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathArrayOfValues) 2360 } 2361 2362 type TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinUpper struct{} 2363 2364 func (TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinUpper) FieldPath() *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldTerminalPath { 2365 return &TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldTerminalPath{selector: TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldPathSelectorMinUpper} 2366 } 2367 2368 func (s TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinUpper) WithValue(value *AlertingThreshold) *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldTerminalPathValue { 2369 return s.FieldPath().WithIValue(value).(*TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldTerminalPathValue) 2370 } 2371 2372 func (s TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinUpper) WithArrayOfValues(values []*AlertingThreshold) *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldTerminalPathArrayOfValues { 2373 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldTerminalPathArrayOfValues) 2374 } 2375 2376 func (TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinUpper) WithSubPath(subPath AlertingThreshold_FieldPath) *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPath { 2377 return &TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPath{selector: TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldPathSelectorMinUpper, subPath: subPath} 2378 } 2379 2380 func (s TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinUpper) WithSubValue(subPathValue AlertingThreshold_FieldPathValue) *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathValue { 2381 return &TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathValue{TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 2382 } 2383 2384 func (s TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinUpper) WithSubArrayOfValues(subPathArrayOfValues AlertingThreshold_FieldPathArrayOfValues) *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathArrayOfValues { 2385 return &TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathArrayOfValues{TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 2386 } 2387 2388 func (s TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinUpper) WithSubArrayItemValue(subPathArrayItemValue AlertingThreshold_FieldPathArrayItemValue) *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathArrayItemValue { 2389 return &TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathArrayItemValue{TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 2390 } 2391 2392 func (TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinUpper) Value() TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinUpperValue { 2393 return TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinUpperValue{} 2394 } 2395 2396 func (TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinUpper) IsInclusive() TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinUpperIsInclusive { 2397 return TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinUpperIsInclusive{} 2398 } 2399 2400 type TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinUpperValue struct{} 2401 2402 func (TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinUpperValue) FieldPath() *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPath { 2403 return &TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPath{ 2404 selector: TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldPathSelectorMinUpper, 2405 subPath: NewAlertingThresholdFieldPathBuilder().Value().FieldPath(), 2406 } 2407 } 2408 2409 func (s TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinUpperValue) WithValue(value float64) *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathValue { 2410 return s.FieldPath().WithIValue(value).(*TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathValue) 2411 } 2412 2413 func (s TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinUpperValue) WithArrayOfValues(values []float64) *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathArrayOfValues { 2414 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathArrayOfValues) 2415 } 2416 2417 type TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinUpperIsInclusive struct{} 2418 2419 func (TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinUpperIsInclusive) FieldPath() *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPath { 2420 return &TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPath{ 2421 selector: TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldPathSelectorMinUpper, 2422 subPath: NewAlertingThresholdFieldPathBuilder().IsInclusive().FieldPath(), 2423 } 2424 } 2425 2426 func (s TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinUpperIsInclusive) WithValue(value bool) *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathValue { 2427 return s.FieldPath().WithIValue(value).(*TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathValue) 2428 } 2429 2430 func (s TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinUpperIsInclusive) WithArrayOfValues(values []bool) *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathArrayOfValues { 2431 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathArrayOfValues) 2432 } 2433 2434 type TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinLower struct{} 2435 2436 func (TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinLower) FieldPath() *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldTerminalPath { 2437 return &TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldTerminalPath{selector: TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldPathSelectorMinLower} 2438 } 2439 2440 func (s TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinLower) WithValue(value *AlertingThreshold) *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldTerminalPathValue { 2441 return s.FieldPath().WithIValue(value).(*TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldTerminalPathValue) 2442 } 2443 2444 func (s TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinLower) WithArrayOfValues(values []*AlertingThreshold) *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldTerminalPathArrayOfValues { 2445 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldTerminalPathArrayOfValues) 2446 } 2447 2448 func (TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinLower) WithSubPath(subPath AlertingThreshold_FieldPath) *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPath { 2449 return &TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPath{selector: TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldPathSelectorMinLower, subPath: subPath} 2450 } 2451 2452 func (s TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinLower) WithSubValue(subPathValue AlertingThreshold_FieldPathValue) *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathValue { 2453 return &TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathValue{TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 2454 } 2455 2456 func (s TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinLower) WithSubArrayOfValues(subPathArrayOfValues AlertingThreshold_FieldPathArrayOfValues) *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathArrayOfValues { 2457 return &TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathArrayOfValues{TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 2458 } 2459 2460 func (s TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinLower) WithSubArrayItemValue(subPathArrayItemValue AlertingThreshold_FieldPathArrayItemValue) *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathArrayItemValue { 2461 return &TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathArrayItemValue{TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 2462 } 2463 2464 func (TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinLower) Value() TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinLowerValue { 2465 return TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinLowerValue{} 2466 } 2467 2468 func (TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinLower) IsInclusive() TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinLowerIsInclusive { 2469 return TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinLowerIsInclusive{} 2470 } 2471 2472 type TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinLowerValue struct{} 2473 2474 func (TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinLowerValue) FieldPath() *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPath { 2475 return &TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPath{ 2476 selector: TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldPathSelectorMinLower, 2477 subPath: NewAlertingThresholdFieldPathBuilder().Value().FieldPath(), 2478 } 2479 } 2480 2481 func (s TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinLowerValue) WithValue(value float64) *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathValue { 2482 return s.FieldPath().WithIValue(value).(*TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathValue) 2483 } 2484 2485 func (s TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinLowerValue) WithArrayOfValues(values []float64) *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathArrayOfValues { 2486 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathArrayOfValues) 2487 } 2488 2489 type TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinLowerIsInclusive struct{} 2490 2491 func (TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinLowerIsInclusive) FieldPath() *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPath { 2492 return &TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPath{ 2493 selector: TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldPathSelectorMinLower, 2494 subPath: NewAlertingThresholdFieldPathBuilder().IsInclusive().FieldPath(), 2495 } 2496 } 2497 2498 func (s TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinLowerIsInclusive) WithValue(value bool) *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathValue { 2499 return s.FieldPath().WithIValue(value).(*TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathValue) 2500 } 2501 2502 func (s TsCndSpec_ThresholdAlertingCfg_AlertingThresholdsPathSelectorMinLowerIsInclusive) WithArrayOfValues(values []bool) *TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathArrayOfValues { 2503 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecThresholdAlertingCfgAlertingThresholds_FieldSubPathArrayOfValues) 2504 } 2505 2506 type TsCndSpecAnomalyAlertingCfgLstmAutoEncoderFieldPathBuilder struct{} 2507 2508 func NewTsCndSpecAnomalyAlertingCfgLstmAutoEncoderFieldPathBuilder() TsCndSpecAnomalyAlertingCfgLstmAutoEncoderFieldPathBuilder { 2509 return TsCndSpecAnomalyAlertingCfgLstmAutoEncoderFieldPathBuilder{} 2510 } 2511 func (TsCndSpecAnomalyAlertingCfgLstmAutoEncoderFieldPathBuilder) HiddenSize() TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorHiddenSize { 2512 return TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorHiddenSize{} 2513 } 2514 func (TsCndSpecAnomalyAlertingCfgLstmAutoEncoderFieldPathBuilder) LearnRate() TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorLearnRate { 2515 return TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorLearnRate{} 2516 } 2517 func (TsCndSpecAnomalyAlertingCfgLstmAutoEncoderFieldPathBuilder) MaxTrainingEpochs() TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorMaxTrainingEpochs { 2518 return TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorMaxTrainingEpochs{} 2519 } 2520 func (TsCndSpecAnomalyAlertingCfgLstmAutoEncoderFieldPathBuilder) MinTrainingEpochs() TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorMinTrainingEpochs { 2521 return TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorMinTrainingEpochs{} 2522 } 2523 func (TsCndSpecAnomalyAlertingCfgLstmAutoEncoderFieldPathBuilder) AcceptableTrainingError() TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorAcceptableTrainingError { 2524 return TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorAcceptableTrainingError{} 2525 } 2526 func (TsCndSpecAnomalyAlertingCfgLstmAutoEncoderFieldPathBuilder) TrainingPeriod() TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorTrainingPeriod { 2527 return TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorTrainingPeriod{} 2528 } 2529 func (TsCndSpecAnomalyAlertingCfgLstmAutoEncoderFieldPathBuilder) CheckPeriodFraction() TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorCheckPeriodFraction { 2530 return TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorCheckPeriodFraction{} 2531 } 2532 func (TsCndSpecAnomalyAlertingCfgLstmAutoEncoderFieldPathBuilder) TeacherForceAtInference() TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorTeacherForceAtInference { 2533 return TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorTeacherForceAtInference{} 2534 } 2535 2536 type TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorHiddenSize struct{} 2537 2538 func (TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorHiddenSize) FieldPath() *TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPath { 2539 return &TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPath{selector: TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldPathSelectorHiddenSize} 2540 } 2541 2542 func (s TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorHiddenSize) WithValue(value int32) *TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPathValue { 2543 return s.FieldPath().WithIValue(value).(*TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPathValue) 2544 } 2545 2546 func (s TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorHiddenSize) WithArrayOfValues(values []int32) *TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPathArrayOfValues { 2547 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPathArrayOfValues) 2548 } 2549 2550 type TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorLearnRate struct{} 2551 2552 func (TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorLearnRate) FieldPath() *TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPath { 2553 return &TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPath{selector: TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldPathSelectorLearnRate} 2554 } 2555 2556 func (s TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorLearnRate) WithValue(value float64) *TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPathValue { 2557 return s.FieldPath().WithIValue(value).(*TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPathValue) 2558 } 2559 2560 func (s TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorLearnRate) WithArrayOfValues(values []float64) *TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPathArrayOfValues { 2561 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPathArrayOfValues) 2562 } 2563 2564 type TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorMaxTrainingEpochs struct{} 2565 2566 func (TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorMaxTrainingEpochs) FieldPath() *TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPath { 2567 return &TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPath{selector: TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldPathSelectorMaxTrainingEpochs} 2568 } 2569 2570 func (s TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorMaxTrainingEpochs) WithValue(value int32) *TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPathValue { 2571 return s.FieldPath().WithIValue(value).(*TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPathValue) 2572 } 2573 2574 func (s TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorMaxTrainingEpochs) WithArrayOfValues(values []int32) *TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPathArrayOfValues { 2575 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPathArrayOfValues) 2576 } 2577 2578 type TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorMinTrainingEpochs struct{} 2579 2580 func (TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorMinTrainingEpochs) FieldPath() *TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPath { 2581 return &TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPath{selector: TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldPathSelectorMinTrainingEpochs} 2582 } 2583 2584 func (s TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorMinTrainingEpochs) WithValue(value int32) *TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPathValue { 2585 return s.FieldPath().WithIValue(value).(*TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPathValue) 2586 } 2587 2588 func (s TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorMinTrainingEpochs) WithArrayOfValues(values []int32) *TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPathArrayOfValues { 2589 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPathArrayOfValues) 2590 } 2591 2592 type TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorAcceptableTrainingError struct{} 2593 2594 func (TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorAcceptableTrainingError) FieldPath() *TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPath { 2595 return &TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPath{selector: TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldPathSelectorAcceptableTrainingError} 2596 } 2597 2598 func (s TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorAcceptableTrainingError) WithValue(value float64) *TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPathValue { 2599 return s.FieldPath().WithIValue(value).(*TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPathValue) 2600 } 2601 2602 func (s TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorAcceptableTrainingError) WithArrayOfValues(values []float64) *TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPathArrayOfValues { 2603 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPathArrayOfValues) 2604 } 2605 2606 type TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorTrainingPeriod struct{} 2607 2608 func (TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorTrainingPeriod) FieldPath() *TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPath { 2609 return &TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPath{selector: TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldPathSelectorTrainingPeriod} 2610 } 2611 2612 func (s TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorTrainingPeriod) WithValue(value *durationpb.Duration) *TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPathValue { 2613 return s.FieldPath().WithIValue(value).(*TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPathValue) 2614 } 2615 2616 func (s TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorTrainingPeriod) WithArrayOfValues(values []*durationpb.Duration) *TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPathArrayOfValues { 2617 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPathArrayOfValues) 2618 } 2619 2620 type TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorCheckPeriodFraction struct{} 2621 2622 func (TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorCheckPeriodFraction) FieldPath() *TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPath { 2623 return &TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPath{selector: TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldPathSelectorCheckPeriodFraction} 2624 } 2625 2626 func (s TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorCheckPeriodFraction) WithValue(value float64) *TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPathValue { 2627 return s.FieldPath().WithIValue(value).(*TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPathValue) 2628 } 2629 2630 func (s TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorCheckPeriodFraction) WithArrayOfValues(values []float64) *TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPathArrayOfValues { 2631 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPathArrayOfValues) 2632 } 2633 2634 type TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorTeacherForceAtInference struct{} 2635 2636 func (TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorTeacherForceAtInference) FieldPath() *TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPath { 2637 return &TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPath{selector: TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldPathSelectorTeacherForceAtInference} 2638 } 2639 2640 func (s TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorTeacherForceAtInference) WithValue(value bool) *TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPathValue { 2641 return s.FieldPath().WithIValue(value).(*TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPathValue) 2642 } 2643 2644 func (s TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoderPathSelectorTeacherForceAtInference) WithArrayOfValues(values []bool) *TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPathArrayOfValues { 2645 return s.FieldPath().WithIArrayOfValues(values).(*TsCndSpecAnomalyAlertingCfgLstmAutoEncoder_FieldTerminalPathArrayOfValues) 2646 } 2647 2648 type PolicySpecFieldPathBuilder struct{} 2649 2650 func NewPolicySpecFieldPathBuilder() PolicySpecFieldPathBuilder { 2651 return PolicySpecFieldPathBuilder{} 2652 } 2653 func (PolicySpecFieldPathBuilder) Enabled() PolicySpecPathSelectorEnabled { 2654 return PolicySpecPathSelectorEnabled{} 2655 } 2656 func (PolicySpecFieldPathBuilder) ProcessingLocation() PolicySpecPathSelectorProcessingLocation { 2657 return PolicySpecPathSelectorProcessingLocation{} 2658 } 2659 func (PolicySpecFieldPathBuilder) ResourceIdentity() PolicySpecPathSelectorResourceIdentity { 2660 return PolicySpecPathSelectorResourceIdentity{} 2661 } 2662 func (PolicySpecFieldPathBuilder) SupportingQueries() PolicySpecPathSelectorSupportingQueries { 2663 return PolicySpecPathSelectorSupportingQueries{} 2664 } 2665 func (PolicySpecFieldPathBuilder) AiAgent() PolicySpecPathSelectorAiAgent { 2666 return PolicySpecPathSelectorAiAgent{} 2667 } 2668 2669 type PolicySpecPathSelectorEnabled struct{} 2670 2671 func (PolicySpecPathSelectorEnabled) FieldPath() *PolicySpec_FieldTerminalPath { 2672 return &PolicySpec_FieldTerminalPath{selector: PolicySpec_FieldPathSelectorEnabled} 2673 } 2674 2675 func (s PolicySpecPathSelectorEnabled) WithValue(value bool) *PolicySpec_FieldTerminalPathValue { 2676 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldTerminalPathValue) 2677 } 2678 2679 func (s PolicySpecPathSelectorEnabled) WithArrayOfValues(values []bool) *PolicySpec_FieldTerminalPathArrayOfValues { 2680 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldTerminalPathArrayOfValues) 2681 } 2682 2683 type PolicySpecPathSelectorProcessingLocation struct{} 2684 2685 func (PolicySpecPathSelectorProcessingLocation) FieldPath() *PolicySpec_FieldTerminalPath { 2686 return &PolicySpec_FieldTerminalPath{selector: PolicySpec_FieldPathSelectorProcessingLocation} 2687 } 2688 2689 func (s PolicySpecPathSelectorProcessingLocation) WithValue(value PolicySpec_ProcessingLocation) *PolicySpec_FieldTerminalPathValue { 2690 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldTerminalPathValue) 2691 } 2692 2693 func (s PolicySpecPathSelectorProcessingLocation) WithArrayOfValues(values []PolicySpec_ProcessingLocation) *PolicySpec_FieldTerminalPathArrayOfValues { 2694 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldTerminalPathArrayOfValues) 2695 } 2696 2697 type PolicySpecPathSelectorResourceIdentity struct{} 2698 2699 func (PolicySpecPathSelectorResourceIdentity) FieldPath() *PolicySpec_FieldTerminalPath { 2700 return &PolicySpec_FieldTerminalPath{selector: PolicySpec_FieldPathSelectorResourceIdentity} 2701 } 2702 2703 func (s PolicySpecPathSelectorResourceIdentity) WithValue(value *PolicySpec_ResourceIdentity) *PolicySpec_FieldTerminalPathValue { 2704 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldTerminalPathValue) 2705 } 2706 2707 func (s PolicySpecPathSelectorResourceIdentity) WithArrayOfValues(values []*PolicySpec_ResourceIdentity) *PolicySpec_FieldTerminalPathArrayOfValues { 2708 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldTerminalPathArrayOfValues) 2709 } 2710 2711 func (PolicySpecPathSelectorResourceIdentity) WithSubPath(subPath PolicySpecResourceIdentity_FieldPath) *PolicySpec_FieldSubPath { 2712 return &PolicySpec_FieldSubPath{selector: PolicySpec_FieldPathSelectorResourceIdentity, subPath: subPath} 2713 } 2714 2715 func (s PolicySpecPathSelectorResourceIdentity) WithSubValue(subPathValue PolicySpecResourceIdentity_FieldPathValue) *PolicySpec_FieldSubPathValue { 2716 return &PolicySpec_FieldSubPathValue{PolicySpec_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 2717 } 2718 2719 func (s PolicySpecPathSelectorResourceIdentity) WithSubArrayOfValues(subPathArrayOfValues PolicySpecResourceIdentity_FieldPathArrayOfValues) *PolicySpec_FieldSubPathArrayOfValues { 2720 return &PolicySpec_FieldSubPathArrayOfValues{PolicySpec_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 2721 } 2722 2723 func (s PolicySpecPathSelectorResourceIdentity) WithSubArrayItemValue(subPathArrayItemValue PolicySpecResourceIdentity_FieldPathArrayItemValue) *PolicySpec_FieldSubPathArrayItemValue { 2724 return &PolicySpec_FieldSubPathArrayItemValue{PolicySpec_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 2725 } 2726 2727 func (PolicySpecPathSelectorResourceIdentity) AlertingResource() PolicySpecPathSelectorResourceIdentityAlertingResource { 2728 return PolicySpecPathSelectorResourceIdentityAlertingResource{} 2729 } 2730 2731 func (PolicySpecPathSelectorResourceIdentity) Labels() PolicySpecPathSelectorResourceIdentityLabels { 2732 return PolicySpecPathSelectorResourceIdentityLabels{} 2733 } 2734 2735 func (PolicySpecPathSelectorResourceIdentity) NamePatterns() PolicySpecPathSelectorResourceIdentityNamePatterns { 2736 return PolicySpecPathSelectorResourceIdentityNamePatterns{} 2737 } 2738 2739 type PolicySpecPathSelectorResourceIdentityAlertingResource struct{} 2740 2741 func (PolicySpecPathSelectorResourceIdentityAlertingResource) FieldPath() *PolicySpec_FieldSubPath { 2742 return &PolicySpec_FieldSubPath{ 2743 selector: PolicySpec_FieldPathSelectorResourceIdentity, 2744 subPath: NewPolicySpecResourceIdentityFieldPathBuilder().AlertingResource().FieldPath(), 2745 } 2746 } 2747 2748 func (s PolicySpecPathSelectorResourceIdentityAlertingResource) WithValue(value *meta_resource.Reference) *PolicySpec_FieldSubPathValue { 2749 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 2750 } 2751 2752 func (s PolicySpecPathSelectorResourceIdentityAlertingResource) WithArrayOfValues(values []*meta_resource.Reference) *PolicySpec_FieldSubPathArrayOfValues { 2753 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 2754 } 2755 2756 type PolicySpecPathSelectorResourceIdentityLabels struct{} 2757 2758 func (PolicySpecPathSelectorResourceIdentityLabels) FieldPath() *PolicySpec_FieldSubPath { 2759 return &PolicySpec_FieldSubPath{ 2760 selector: PolicySpec_FieldPathSelectorResourceIdentity, 2761 subPath: NewPolicySpecResourceIdentityFieldPathBuilder().Labels().FieldPath(), 2762 } 2763 } 2764 2765 func (s PolicySpecPathSelectorResourceIdentityLabels) WithValue(value []*PolicySpec_ResourceIdentity_LabelInfo) *PolicySpec_FieldSubPathValue { 2766 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 2767 } 2768 2769 func (s PolicySpecPathSelectorResourceIdentityLabels) WithArrayOfValues(values [][]*PolicySpec_ResourceIdentity_LabelInfo) *PolicySpec_FieldSubPathArrayOfValues { 2770 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 2771 } 2772 2773 func (s PolicySpecPathSelectorResourceIdentityLabels) WithItemValue(value *PolicySpec_ResourceIdentity_LabelInfo) *PolicySpec_FieldSubPathArrayItemValue { 2774 return s.FieldPath().WithIArrayItemValue(value).(*PolicySpec_FieldSubPathArrayItemValue) 2775 } 2776 2777 func (PolicySpecPathSelectorResourceIdentityLabels) Key() PolicySpecPathSelectorResourceIdentityLabelsKey { 2778 return PolicySpecPathSelectorResourceIdentityLabelsKey{} 2779 } 2780 2781 func (PolicySpecPathSelectorResourceIdentityLabels) Contexts() PolicySpecPathSelectorResourceIdentityLabelsContexts { 2782 return PolicySpecPathSelectorResourceIdentityLabelsContexts{} 2783 } 2784 2785 func (PolicySpecPathSelectorResourceIdentityLabels) MappedNameSegment() PolicySpecPathSelectorResourceIdentityLabelsMappedNameSegment { 2786 return PolicySpecPathSelectorResourceIdentityLabelsMappedNameSegment{} 2787 } 2788 2789 type PolicySpecPathSelectorResourceIdentityLabelsKey struct{} 2790 2791 func (PolicySpecPathSelectorResourceIdentityLabelsKey) FieldPath() *PolicySpec_FieldSubPath { 2792 return &PolicySpec_FieldSubPath{ 2793 selector: PolicySpec_FieldPathSelectorResourceIdentity, 2794 subPath: NewPolicySpecResourceIdentityFieldPathBuilder().Labels().Key().FieldPath(), 2795 } 2796 } 2797 2798 func (s PolicySpecPathSelectorResourceIdentityLabelsKey) WithValue(value string) *PolicySpec_FieldSubPathValue { 2799 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 2800 } 2801 2802 func (s PolicySpecPathSelectorResourceIdentityLabelsKey) WithArrayOfValues(values []string) *PolicySpec_FieldSubPathArrayOfValues { 2803 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 2804 } 2805 2806 type PolicySpecPathSelectorResourceIdentityLabelsContexts struct{} 2807 2808 func (PolicySpecPathSelectorResourceIdentityLabelsContexts) FieldPath() *PolicySpec_FieldSubPath { 2809 return &PolicySpec_FieldSubPath{ 2810 selector: PolicySpec_FieldPathSelectorResourceIdentity, 2811 subPath: NewPolicySpecResourceIdentityFieldPathBuilder().Labels().Contexts().FieldPath(), 2812 } 2813 } 2814 2815 func (s PolicySpecPathSelectorResourceIdentityLabelsContexts) WithValue(value []PolicySpec_ResourceIdentity_LabelInfo_UsageContext) *PolicySpec_FieldSubPathValue { 2816 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 2817 } 2818 2819 func (s PolicySpecPathSelectorResourceIdentityLabelsContexts) WithArrayOfValues(values [][]PolicySpec_ResourceIdentity_LabelInfo_UsageContext) *PolicySpec_FieldSubPathArrayOfValues { 2820 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 2821 } 2822 2823 func (s PolicySpecPathSelectorResourceIdentityLabelsContexts) WithItemValue(value PolicySpec_ResourceIdentity_LabelInfo_UsageContext) *PolicySpec_FieldSubPathArrayItemValue { 2824 return s.FieldPath().WithIArrayItemValue(value).(*PolicySpec_FieldSubPathArrayItemValue) 2825 } 2826 2827 type PolicySpecPathSelectorResourceIdentityLabelsMappedNameSegment struct{} 2828 2829 func (PolicySpecPathSelectorResourceIdentityLabelsMappedNameSegment) FieldPath() *PolicySpec_FieldSubPath { 2830 return &PolicySpec_FieldSubPath{ 2831 selector: PolicySpec_FieldPathSelectorResourceIdentity, 2832 subPath: NewPolicySpecResourceIdentityFieldPathBuilder().Labels().MappedNameSegment().FieldPath(), 2833 } 2834 } 2835 2836 func (s PolicySpecPathSelectorResourceIdentityLabelsMappedNameSegment) WithValue(value string) *PolicySpec_FieldSubPathValue { 2837 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 2838 } 2839 2840 func (s PolicySpecPathSelectorResourceIdentityLabelsMappedNameSegment) WithArrayOfValues(values []string) *PolicySpec_FieldSubPathArrayOfValues { 2841 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 2842 } 2843 2844 type PolicySpecPathSelectorResourceIdentityNamePatterns struct{} 2845 2846 func (PolicySpecPathSelectorResourceIdentityNamePatterns) FieldPath() *PolicySpec_FieldSubPath { 2847 return &PolicySpec_FieldSubPath{ 2848 selector: PolicySpec_FieldPathSelectorResourceIdentity, 2849 subPath: NewPolicySpecResourceIdentityFieldPathBuilder().NamePatterns().FieldPath(), 2850 } 2851 } 2852 2853 func (s PolicySpecPathSelectorResourceIdentityNamePatterns) WithValue(value []string) *PolicySpec_FieldSubPathValue { 2854 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 2855 } 2856 2857 func (s PolicySpecPathSelectorResourceIdentityNamePatterns) WithArrayOfValues(values [][]string) *PolicySpec_FieldSubPathArrayOfValues { 2858 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 2859 } 2860 2861 func (s PolicySpecPathSelectorResourceIdentityNamePatterns) WithItemValue(value string) *PolicySpec_FieldSubPathArrayItemValue { 2862 return s.FieldPath().WithIArrayItemValue(value).(*PolicySpec_FieldSubPathArrayItemValue) 2863 } 2864 2865 type PolicySpecPathSelectorSupportingQueries struct{} 2866 2867 func (PolicySpecPathSelectorSupportingQueries) FieldPath() *PolicySpec_FieldTerminalPath { 2868 return &PolicySpec_FieldTerminalPath{selector: PolicySpec_FieldPathSelectorSupportingQueries} 2869 } 2870 2871 func (s PolicySpecPathSelectorSupportingQueries) WithValue(value []*PolicySpec_SupportingAlertQuery) *PolicySpec_FieldTerminalPathValue { 2872 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldTerminalPathValue) 2873 } 2874 2875 func (s PolicySpecPathSelectorSupportingQueries) WithArrayOfValues(values [][]*PolicySpec_SupportingAlertQuery) *PolicySpec_FieldTerminalPathArrayOfValues { 2876 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldTerminalPathArrayOfValues) 2877 } 2878 2879 func (s PolicySpecPathSelectorSupportingQueries) WithItemValue(value *PolicySpec_SupportingAlertQuery) *PolicySpec_FieldTerminalPathArrayItemValue { 2880 return s.FieldPath().WithIArrayItemValue(value).(*PolicySpec_FieldTerminalPathArrayItemValue) 2881 } 2882 func (PolicySpecPathSelectorSupportingQueries) WithSubPath(subPath PolicySpecSupportingAlertQuery_FieldPath) *PolicySpec_FieldSubPath { 2883 return &PolicySpec_FieldSubPath{selector: PolicySpec_FieldPathSelectorSupportingQueries, subPath: subPath} 2884 } 2885 2886 func (s PolicySpecPathSelectorSupportingQueries) WithSubValue(subPathValue PolicySpecSupportingAlertQuery_FieldPathValue) *PolicySpec_FieldSubPathValue { 2887 return &PolicySpec_FieldSubPathValue{PolicySpec_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 2888 } 2889 2890 func (s PolicySpecPathSelectorSupportingQueries) WithSubArrayOfValues(subPathArrayOfValues PolicySpecSupportingAlertQuery_FieldPathArrayOfValues) *PolicySpec_FieldSubPathArrayOfValues { 2891 return &PolicySpec_FieldSubPathArrayOfValues{PolicySpec_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 2892 } 2893 2894 func (s PolicySpecPathSelectorSupportingQueries) WithSubArrayItemValue(subPathArrayItemValue PolicySpecSupportingAlertQuery_FieldPathArrayItemValue) *PolicySpec_FieldSubPathArrayItemValue { 2895 return &PolicySpec_FieldSubPathArrayItemValue{PolicySpec_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 2896 } 2897 2898 func (PolicySpecPathSelectorSupportingQueries) TsQuery() PolicySpecPathSelectorSupportingQueriesTsQuery { 2899 return PolicySpecPathSelectorSupportingQueriesTsQuery{} 2900 } 2901 2902 func (PolicySpecPathSelectorSupportingQueries) LogQuery() PolicySpecPathSelectorSupportingQueriesLogQuery { 2903 return PolicySpecPathSelectorSupportingQueriesLogQuery{} 2904 } 2905 2906 func (PolicySpecPathSelectorSupportingQueries) RestGetQuery() PolicySpecPathSelectorSupportingQueriesRestGetQuery { 2907 return PolicySpecPathSelectorSupportingQueriesRestGetQuery{} 2908 } 2909 2910 func (PolicySpecPathSelectorSupportingQueries) RestListQuery() PolicySpecPathSelectorSupportingQueriesRestListQuery { 2911 return PolicySpecPathSelectorSupportingQueriesRestListQuery{} 2912 } 2913 2914 type PolicySpecPathSelectorSupportingQueriesTsQuery struct{} 2915 2916 func (PolicySpecPathSelectorSupportingQueriesTsQuery) FieldPath() *PolicySpec_FieldSubPath { 2917 return &PolicySpec_FieldSubPath{ 2918 selector: PolicySpec_FieldPathSelectorSupportingQueries, 2919 subPath: NewPolicySpecSupportingAlertQueryFieldPathBuilder().TsQuery().FieldPath(), 2920 } 2921 } 2922 2923 func (s PolicySpecPathSelectorSupportingQueriesTsQuery) WithValue(value *PolicySpec_SupportingAlertQuery_TsQuery) *PolicySpec_FieldSubPathValue { 2924 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 2925 } 2926 2927 func (s PolicySpecPathSelectorSupportingQueriesTsQuery) WithArrayOfValues(values []*PolicySpec_SupportingAlertQuery_TsQuery) *PolicySpec_FieldSubPathArrayOfValues { 2928 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 2929 } 2930 2931 func (PolicySpecPathSelectorSupportingQueriesTsQuery) Description() PolicySpecPathSelectorSupportingQueriesTsQueryDescription { 2932 return PolicySpecPathSelectorSupportingQueriesTsQueryDescription{} 2933 } 2934 2935 func (PolicySpecPathSelectorSupportingQueriesTsQuery) FilterTemplate() PolicySpecPathSelectorSupportingQueriesTsQueryFilterTemplate { 2936 return PolicySpecPathSelectorSupportingQueriesTsQueryFilterTemplate{} 2937 } 2938 2939 func (PolicySpecPathSelectorSupportingQueriesTsQuery) Aggregation() PolicySpecPathSelectorSupportingQueriesTsQueryAggregation { 2940 return PolicySpecPathSelectorSupportingQueriesTsQueryAggregation{} 2941 } 2942 2943 type PolicySpecPathSelectorSupportingQueriesTsQueryDescription struct{} 2944 2945 func (PolicySpecPathSelectorSupportingQueriesTsQueryDescription) FieldPath() *PolicySpec_FieldSubPath { 2946 return &PolicySpec_FieldSubPath{ 2947 selector: PolicySpec_FieldPathSelectorSupportingQueries, 2948 subPath: NewPolicySpecSupportingAlertQueryFieldPathBuilder().TsQuery().Description().FieldPath(), 2949 } 2950 } 2951 2952 func (s PolicySpecPathSelectorSupportingQueriesTsQueryDescription) WithValue(value string) *PolicySpec_FieldSubPathValue { 2953 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 2954 } 2955 2956 func (s PolicySpecPathSelectorSupportingQueriesTsQueryDescription) WithArrayOfValues(values []string) *PolicySpec_FieldSubPathArrayOfValues { 2957 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 2958 } 2959 2960 type PolicySpecPathSelectorSupportingQueriesTsQueryFilterTemplate struct{} 2961 2962 func (PolicySpecPathSelectorSupportingQueriesTsQueryFilterTemplate) FieldPath() *PolicySpec_FieldSubPath { 2963 return &PolicySpec_FieldSubPath{ 2964 selector: PolicySpec_FieldPathSelectorSupportingQueries, 2965 subPath: NewPolicySpecSupportingAlertQueryFieldPathBuilder().TsQuery().FilterTemplate().FieldPath(), 2966 } 2967 } 2968 2969 func (s PolicySpecPathSelectorSupportingQueriesTsQueryFilterTemplate) WithValue(value string) *PolicySpec_FieldSubPathValue { 2970 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 2971 } 2972 2973 func (s PolicySpecPathSelectorSupportingQueriesTsQueryFilterTemplate) WithArrayOfValues(values []string) *PolicySpec_FieldSubPathArrayOfValues { 2974 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 2975 } 2976 2977 type PolicySpecPathSelectorSupportingQueriesTsQueryAggregation struct{} 2978 2979 func (PolicySpecPathSelectorSupportingQueriesTsQueryAggregation) FieldPath() *PolicySpec_FieldSubPath { 2980 return &PolicySpec_FieldSubPath{ 2981 selector: PolicySpec_FieldPathSelectorSupportingQueries, 2982 subPath: NewPolicySpecSupportingAlertQueryFieldPathBuilder().TsQuery().Aggregation().FieldPath(), 2983 } 2984 } 2985 2986 func (s PolicySpecPathSelectorSupportingQueriesTsQueryAggregation) WithValue(value *monitoring_common.Aggregation) *PolicySpec_FieldSubPathValue { 2987 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 2988 } 2989 2990 func (s PolicySpecPathSelectorSupportingQueriesTsQueryAggregation) WithArrayOfValues(values []*monitoring_common.Aggregation) *PolicySpec_FieldSubPathArrayOfValues { 2991 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 2992 } 2993 2994 func (PolicySpecPathSelectorSupportingQueriesTsQueryAggregation) AlignmentPeriod() PolicySpecPathSelectorSupportingQueriesTsQueryAggregationAlignmentPeriod { 2995 return PolicySpecPathSelectorSupportingQueriesTsQueryAggregationAlignmentPeriod{} 2996 } 2997 2998 func (PolicySpecPathSelectorSupportingQueriesTsQueryAggregation) PerSeriesAligner() PolicySpecPathSelectorSupportingQueriesTsQueryAggregationPerSeriesAligner { 2999 return PolicySpecPathSelectorSupportingQueriesTsQueryAggregationPerSeriesAligner{} 3000 } 3001 3002 func (PolicySpecPathSelectorSupportingQueriesTsQueryAggregation) CrossSeriesReducer() PolicySpecPathSelectorSupportingQueriesTsQueryAggregationCrossSeriesReducer { 3003 return PolicySpecPathSelectorSupportingQueriesTsQueryAggregationCrossSeriesReducer{} 3004 } 3005 3006 func (PolicySpecPathSelectorSupportingQueriesTsQueryAggregation) GroupByFields() PolicySpecPathSelectorSupportingQueriesTsQueryAggregationGroupByFields { 3007 return PolicySpecPathSelectorSupportingQueriesTsQueryAggregationGroupByFields{} 3008 } 3009 3010 type PolicySpecPathSelectorSupportingQueriesTsQueryAggregationAlignmentPeriod struct{} 3011 3012 func (PolicySpecPathSelectorSupportingQueriesTsQueryAggregationAlignmentPeriod) FieldPath() *PolicySpec_FieldSubPath { 3013 return &PolicySpec_FieldSubPath{ 3014 selector: PolicySpec_FieldPathSelectorSupportingQueries, 3015 subPath: NewPolicySpecSupportingAlertQueryFieldPathBuilder().TsQuery().Aggregation().AlignmentPeriod().FieldPath(), 3016 } 3017 } 3018 3019 func (s PolicySpecPathSelectorSupportingQueriesTsQueryAggregationAlignmentPeriod) WithValue(value *durationpb.Duration) *PolicySpec_FieldSubPathValue { 3020 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 3021 } 3022 3023 func (s PolicySpecPathSelectorSupportingQueriesTsQueryAggregationAlignmentPeriod) WithArrayOfValues(values []*durationpb.Duration) *PolicySpec_FieldSubPathArrayOfValues { 3024 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 3025 } 3026 3027 type PolicySpecPathSelectorSupportingQueriesTsQueryAggregationPerSeriesAligner struct{} 3028 3029 func (PolicySpecPathSelectorSupportingQueriesTsQueryAggregationPerSeriesAligner) FieldPath() *PolicySpec_FieldSubPath { 3030 return &PolicySpec_FieldSubPath{ 3031 selector: PolicySpec_FieldPathSelectorSupportingQueries, 3032 subPath: NewPolicySpecSupportingAlertQueryFieldPathBuilder().TsQuery().Aggregation().PerSeriesAligner().FieldPath(), 3033 } 3034 } 3035 3036 func (s PolicySpecPathSelectorSupportingQueriesTsQueryAggregationPerSeriesAligner) WithValue(value monitoring_common.Aggregation_Aligner) *PolicySpec_FieldSubPathValue { 3037 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 3038 } 3039 3040 func (s PolicySpecPathSelectorSupportingQueriesTsQueryAggregationPerSeriesAligner) WithArrayOfValues(values []monitoring_common.Aggregation_Aligner) *PolicySpec_FieldSubPathArrayOfValues { 3041 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 3042 } 3043 3044 type PolicySpecPathSelectorSupportingQueriesTsQueryAggregationCrossSeriesReducer struct{} 3045 3046 func (PolicySpecPathSelectorSupportingQueriesTsQueryAggregationCrossSeriesReducer) FieldPath() *PolicySpec_FieldSubPath { 3047 return &PolicySpec_FieldSubPath{ 3048 selector: PolicySpec_FieldPathSelectorSupportingQueries, 3049 subPath: NewPolicySpecSupportingAlertQueryFieldPathBuilder().TsQuery().Aggregation().CrossSeriesReducer().FieldPath(), 3050 } 3051 } 3052 3053 func (s PolicySpecPathSelectorSupportingQueriesTsQueryAggregationCrossSeriesReducer) WithValue(value monitoring_common.Aggregation_Reducer) *PolicySpec_FieldSubPathValue { 3054 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 3055 } 3056 3057 func (s PolicySpecPathSelectorSupportingQueriesTsQueryAggregationCrossSeriesReducer) WithArrayOfValues(values []monitoring_common.Aggregation_Reducer) *PolicySpec_FieldSubPathArrayOfValues { 3058 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 3059 } 3060 3061 type PolicySpecPathSelectorSupportingQueriesTsQueryAggregationGroupByFields struct{} 3062 3063 func (PolicySpecPathSelectorSupportingQueriesTsQueryAggregationGroupByFields) FieldPath() *PolicySpec_FieldSubPath { 3064 return &PolicySpec_FieldSubPath{ 3065 selector: PolicySpec_FieldPathSelectorSupportingQueries, 3066 subPath: NewPolicySpecSupportingAlertQueryFieldPathBuilder().TsQuery().Aggregation().GroupByFields().FieldPath(), 3067 } 3068 } 3069 3070 func (s PolicySpecPathSelectorSupportingQueriesTsQueryAggregationGroupByFields) WithValue(value []string) *PolicySpec_FieldSubPathValue { 3071 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 3072 } 3073 3074 func (s PolicySpecPathSelectorSupportingQueriesTsQueryAggregationGroupByFields) WithArrayOfValues(values [][]string) *PolicySpec_FieldSubPathArrayOfValues { 3075 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 3076 } 3077 3078 func (s PolicySpecPathSelectorSupportingQueriesTsQueryAggregationGroupByFields) WithItemValue(value string) *PolicySpec_FieldSubPathArrayItemValue { 3079 return s.FieldPath().WithIArrayItemValue(value).(*PolicySpec_FieldSubPathArrayItemValue) 3080 } 3081 3082 type PolicySpecPathSelectorSupportingQueriesLogQuery struct{} 3083 3084 func (PolicySpecPathSelectorSupportingQueriesLogQuery) FieldPath() *PolicySpec_FieldSubPath { 3085 return &PolicySpec_FieldSubPath{ 3086 selector: PolicySpec_FieldPathSelectorSupportingQueries, 3087 subPath: NewPolicySpecSupportingAlertQueryFieldPathBuilder().LogQuery().FieldPath(), 3088 } 3089 } 3090 3091 func (s PolicySpecPathSelectorSupportingQueriesLogQuery) WithValue(value *PolicySpec_SupportingAlertQuery_LogQuery) *PolicySpec_FieldSubPathValue { 3092 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 3093 } 3094 3095 func (s PolicySpecPathSelectorSupportingQueriesLogQuery) WithArrayOfValues(values []*PolicySpec_SupportingAlertQuery_LogQuery) *PolicySpec_FieldSubPathArrayOfValues { 3096 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 3097 } 3098 3099 func (PolicySpecPathSelectorSupportingQueriesLogQuery) Description() PolicySpecPathSelectorSupportingQueriesLogQueryDescription { 3100 return PolicySpecPathSelectorSupportingQueriesLogQueryDescription{} 3101 } 3102 3103 func (PolicySpecPathSelectorSupportingQueriesLogQuery) FilterTemplate() PolicySpecPathSelectorSupportingQueriesLogQueryFilterTemplate { 3104 return PolicySpecPathSelectorSupportingQueriesLogQueryFilterTemplate{} 3105 } 3106 3107 type PolicySpecPathSelectorSupportingQueriesLogQueryDescription struct{} 3108 3109 func (PolicySpecPathSelectorSupportingQueriesLogQueryDescription) FieldPath() *PolicySpec_FieldSubPath { 3110 return &PolicySpec_FieldSubPath{ 3111 selector: PolicySpec_FieldPathSelectorSupportingQueries, 3112 subPath: NewPolicySpecSupportingAlertQueryFieldPathBuilder().LogQuery().Description().FieldPath(), 3113 } 3114 } 3115 3116 func (s PolicySpecPathSelectorSupportingQueriesLogQueryDescription) WithValue(value string) *PolicySpec_FieldSubPathValue { 3117 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 3118 } 3119 3120 func (s PolicySpecPathSelectorSupportingQueriesLogQueryDescription) WithArrayOfValues(values []string) *PolicySpec_FieldSubPathArrayOfValues { 3121 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 3122 } 3123 3124 type PolicySpecPathSelectorSupportingQueriesLogQueryFilterTemplate struct{} 3125 3126 func (PolicySpecPathSelectorSupportingQueriesLogQueryFilterTemplate) FieldPath() *PolicySpec_FieldSubPath { 3127 return &PolicySpec_FieldSubPath{ 3128 selector: PolicySpec_FieldPathSelectorSupportingQueries, 3129 subPath: NewPolicySpecSupportingAlertQueryFieldPathBuilder().LogQuery().FilterTemplate().FieldPath(), 3130 } 3131 } 3132 3133 func (s PolicySpecPathSelectorSupportingQueriesLogQueryFilterTemplate) WithValue(value string) *PolicySpec_FieldSubPathValue { 3134 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 3135 } 3136 3137 func (s PolicySpecPathSelectorSupportingQueriesLogQueryFilterTemplate) WithArrayOfValues(values []string) *PolicySpec_FieldSubPathArrayOfValues { 3138 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 3139 } 3140 3141 type PolicySpecPathSelectorSupportingQueriesRestGetQuery struct{} 3142 3143 func (PolicySpecPathSelectorSupportingQueriesRestGetQuery) FieldPath() *PolicySpec_FieldSubPath { 3144 return &PolicySpec_FieldSubPath{ 3145 selector: PolicySpec_FieldPathSelectorSupportingQueries, 3146 subPath: NewPolicySpecSupportingAlertQueryFieldPathBuilder().RestGetQuery().FieldPath(), 3147 } 3148 } 3149 3150 func (s PolicySpecPathSelectorSupportingQueriesRestGetQuery) WithValue(value *PolicySpec_SupportingAlertQuery_RestGetQuery) *PolicySpec_FieldSubPathValue { 3151 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 3152 } 3153 3154 func (s PolicySpecPathSelectorSupportingQueriesRestGetQuery) WithArrayOfValues(values []*PolicySpec_SupportingAlertQuery_RestGetQuery) *PolicySpec_FieldSubPathArrayOfValues { 3155 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 3156 } 3157 3158 func (PolicySpecPathSelectorSupportingQueriesRestGetQuery) Description() PolicySpecPathSelectorSupportingQueriesRestGetQueryDescription { 3159 return PolicySpecPathSelectorSupportingQueriesRestGetQueryDescription{} 3160 } 3161 3162 func (PolicySpecPathSelectorSupportingQueriesRestGetQuery) Endpoint() PolicySpecPathSelectorSupportingQueriesRestGetQueryEndpoint { 3163 return PolicySpecPathSelectorSupportingQueriesRestGetQueryEndpoint{} 3164 } 3165 3166 func (PolicySpecPathSelectorSupportingQueriesRestGetQuery) PathTemplate() PolicySpecPathSelectorSupportingQueriesRestGetQueryPathTemplate { 3167 return PolicySpecPathSelectorSupportingQueriesRestGetQueryPathTemplate{} 3168 } 3169 3170 func (PolicySpecPathSelectorSupportingQueriesRestGetQuery) View() PolicySpecPathSelectorSupportingQueriesRestGetQueryView { 3171 return PolicySpecPathSelectorSupportingQueriesRestGetQueryView{} 3172 } 3173 3174 func (PolicySpecPathSelectorSupportingQueriesRestGetQuery) FieldMask() PolicySpecPathSelectorSupportingQueriesRestGetQueryFieldMask { 3175 return PolicySpecPathSelectorSupportingQueriesRestGetQueryFieldMask{} 3176 } 3177 3178 type PolicySpecPathSelectorSupportingQueriesRestGetQueryDescription struct{} 3179 3180 func (PolicySpecPathSelectorSupportingQueriesRestGetQueryDescription) FieldPath() *PolicySpec_FieldSubPath { 3181 return &PolicySpec_FieldSubPath{ 3182 selector: PolicySpec_FieldPathSelectorSupportingQueries, 3183 subPath: NewPolicySpecSupportingAlertQueryFieldPathBuilder().RestGetQuery().Description().FieldPath(), 3184 } 3185 } 3186 3187 func (s PolicySpecPathSelectorSupportingQueriesRestGetQueryDescription) WithValue(value string) *PolicySpec_FieldSubPathValue { 3188 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 3189 } 3190 3191 func (s PolicySpecPathSelectorSupportingQueriesRestGetQueryDescription) WithArrayOfValues(values []string) *PolicySpec_FieldSubPathArrayOfValues { 3192 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 3193 } 3194 3195 type PolicySpecPathSelectorSupportingQueriesRestGetQueryEndpoint struct{} 3196 3197 func (PolicySpecPathSelectorSupportingQueriesRestGetQueryEndpoint) FieldPath() *PolicySpec_FieldSubPath { 3198 return &PolicySpec_FieldSubPath{ 3199 selector: PolicySpec_FieldPathSelectorSupportingQueries, 3200 subPath: NewPolicySpecSupportingAlertQueryFieldPathBuilder().RestGetQuery().Endpoint().FieldPath(), 3201 } 3202 } 3203 3204 func (s PolicySpecPathSelectorSupportingQueriesRestGetQueryEndpoint) WithValue(value string) *PolicySpec_FieldSubPathValue { 3205 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 3206 } 3207 3208 func (s PolicySpecPathSelectorSupportingQueriesRestGetQueryEndpoint) WithArrayOfValues(values []string) *PolicySpec_FieldSubPathArrayOfValues { 3209 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 3210 } 3211 3212 type PolicySpecPathSelectorSupportingQueriesRestGetQueryPathTemplate struct{} 3213 3214 func (PolicySpecPathSelectorSupportingQueriesRestGetQueryPathTemplate) FieldPath() *PolicySpec_FieldSubPath { 3215 return &PolicySpec_FieldSubPath{ 3216 selector: PolicySpec_FieldPathSelectorSupportingQueries, 3217 subPath: NewPolicySpecSupportingAlertQueryFieldPathBuilder().RestGetQuery().PathTemplate().FieldPath(), 3218 } 3219 } 3220 3221 func (s PolicySpecPathSelectorSupportingQueriesRestGetQueryPathTemplate) WithValue(value string) *PolicySpec_FieldSubPathValue { 3222 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 3223 } 3224 3225 func (s PolicySpecPathSelectorSupportingQueriesRestGetQueryPathTemplate) WithArrayOfValues(values []string) *PolicySpec_FieldSubPathArrayOfValues { 3226 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 3227 } 3228 3229 type PolicySpecPathSelectorSupportingQueriesRestGetQueryView struct{} 3230 3231 func (PolicySpecPathSelectorSupportingQueriesRestGetQueryView) FieldPath() *PolicySpec_FieldSubPath { 3232 return &PolicySpec_FieldSubPath{ 3233 selector: PolicySpec_FieldPathSelectorSupportingQueries, 3234 subPath: NewPolicySpecSupportingAlertQueryFieldPathBuilder().RestGetQuery().View().FieldPath(), 3235 } 3236 } 3237 3238 func (s PolicySpecPathSelectorSupportingQueriesRestGetQueryView) WithValue(value string) *PolicySpec_FieldSubPathValue { 3239 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 3240 } 3241 3242 func (s PolicySpecPathSelectorSupportingQueriesRestGetQueryView) WithArrayOfValues(values []string) *PolicySpec_FieldSubPathArrayOfValues { 3243 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 3244 } 3245 3246 type PolicySpecPathSelectorSupportingQueriesRestGetQueryFieldMask struct{} 3247 3248 func (PolicySpecPathSelectorSupportingQueriesRestGetQueryFieldMask) FieldPath() *PolicySpec_FieldSubPath { 3249 return &PolicySpec_FieldSubPath{ 3250 selector: PolicySpec_FieldPathSelectorSupportingQueries, 3251 subPath: NewPolicySpecSupportingAlertQueryFieldPathBuilder().RestGetQuery().FieldMask().FieldPath(), 3252 } 3253 } 3254 3255 func (s PolicySpecPathSelectorSupportingQueriesRestGetQueryFieldMask) WithValue(value string) *PolicySpec_FieldSubPathValue { 3256 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 3257 } 3258 3259 func (s PolicySpecPathSelectorSupportingQueriesRestGetQueryFieldMask) WithArrayOfValues(values []string) *PolicySpec_FieldSubPathArrayOfValues { 3260 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 3261 } 3262 3263 type PolicySpecPathSelectorSupportingQueriesRestListQuery struct{} 3264 3265 func (PolicySpecPathSelectorSupportingQueriesRestListQuery) FieldPath() *PolicySpec_FieldSubPath { 3266 return &PolicySpec_FieldSubPath{ 3267 selector: PolicySpec_FieldPathSelectorSupportingQueries, 3268 subPath: NewPolicySpecSupportingAlertQueryFieldPathBuilder().RestListQuery().FieldPath(), 3269 } 3270 } 3271 3272 func (s PolicySpecPathSelectorSupportingQueriesRestListQuery) WithValue(value *PolicySpec_SupportingAlertQuery_RestListQuery) *PolicySpec_FieldSubPathValue { 3273 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 3274 } 3275 3276 func (s PolicySpecPathSelectorSupportingQueriesRestListQuery) WithArrayOfValues(values []*PolicySpec_SupportingAlertQuery_RestListQuery) *PolicySpec_FieldSubPathArrayOfValues { 3277 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 3278 } 3279 3280 func (PolicySpecPathSelectorSupportingQueriesRestListQuery) Description() PolicySpecPathSelectorSupportingQueriesRestListQueryDescription { 3281 return PolicySpecPathSelectorSupportingQueriesRestListQueryDescription{} 3282 } 3283 3284 func (PolicySpecPathSelectorSupportingQueriesRestListQuery) Endpoint() PolicySpecPathSelectorSupportingQueriesRestListQueryEndpoint { 3285 return PolicySpecPathSelectorSupportingQueriesRestListQueryEndpoint{} 3286 } 3287 3288 func (PolicySpecPathSelectorSupportingQueriesRestListQuery) PathTemplate() PolicySpecPathSelectorSupportingQueriesRestListQueryPathTemplate { 3289 return PolicySpecPathSelectorSupportingQueriesRestListQueryPathTemplate{} 3290 } 3291 3292 func (PolicySpecPathSelectorSupportingQueriesRestListQuery) View() PolicySpecPathSelectorSupportingQueriesRestListQueryView { 3293 return PolicySpecPathSelectorSupportingQueriesRestListQueryView{} 3294 } 3295 3296 func (PolicySpecPathSelectorSupportingQueriesRestListQuery) FieldMask() PolicySpecPathSelectorSupportingQueriesRestListQueryFieldMask { 3297 return PolicySpecPathSelectorSupportingQueriesRestListQueryFieldMask{} 3298 } 3299 3300 func (PolicySpecPathSelectorSupportingQueriesRestListQuery) FilterTemplate() PolicySpecPathSelectorSupportingQueriesRestListQueryFilterTemplate { 3301 return PolicySpecPathSelectorSupportingQueriesRestListQueryFilterTemplate{} 3302 } 3303 3304 type PolicySpecPathSelectorSupportingQueriesRestListQueryDescription struct{} 3305 3306 func (PolicySpecPathSelectorSupportingQueriesRestListQueryDescription) FieldPath() *PolicySpec_FieldSubPath { 3307 return &PolicySpec_FieldSubPath{ 3308 selector: PolicySpec_FieldPathSelectorSupportingQueries, 3309 subPath: NewPolicySpecSupportingAlertQueryFieldPathBuilder().RestListQuery().Description().FieldPath(), 3310 } 3311 } 3312 3313 func (s PolicySpecPathSelectorSupportingQueriesRestListQueryDescription) WithValue(value string) *PolicySpec_FieldSubPathValue { 3314 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 3315 } 3316 3317 func (s PolicySpecPathSelectorSupportingQueriesRestListQueryDescription) WithArrayOfValues(values []string) *PolicySpec_FieldSubPathArrayOfValues { 3318 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 3319 } 3320 3321 type PolicySpecPathSelectorSupportingQueriesRestListQueryEndpoint struct{} 3322 3323 func (PolicySpecPathSelectorSupportingQueriesRestListQueryEndpoint) FieldPath() *PolicySpec_FieldSubPath { 3324 return &PolicySpec_FieldSubPath{ 3325 selector: PolicySpec_FieldPathSelectorSupportingQueries, 3326 subPath: NewPolicySpecSupportingAlertQueryFieldPathBuilder().RestListQuery().Endpoint().FieldPath(), 3327 } 3328 } 3329 3330 func (s PolicySpecPathSelectorSupportingQueriesRestListQueryEndpoint) WithValue(value string) *PolicySpec_FieldSubPathValue { 3331 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 3332 } 3333 3334 func (s PolicySpecPathSelectorSupportingQueriesRestListQueryEndpoint) WithArrayOfValues(values []string) *PolicySpec_FieldSubPathArrayOfValues { 3335 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 3336 } 3337 3338 type PolicySpecPathSelectorSupportingQueriesRestListQueryPathTemplate struct{} 3339 3340 func (PolicySpecPathSelectorSupportingQueriesRestListQueryPathTemplate) FieldPath() *PolicySpec_FieldSubPath { 3341 return &PolicySpec_FieldSubPath{ 3342 selector: PolicySpec_FieldPathSelectorSupportingQueries, 3343 subPath: NewPolicySpecSupportingAlertQueryFieldPathBuilder().RestListQuery().PathTemplate().FieldPath(), 3344 } 3345 } 3346 3347 func (s PolicySpecPathSelectorSupportingQueriesRestListQueryPathTemplate) WithValue(value string) *PolicySpec_FieldSubPathValue { 3348 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 3349 } 3350 3351 func (s PolicySpecPathSelectorSupportingQueriesRestListQueryPathTemplate) WithArrayOfValues(values []string) *PolicySpec_FieldSubPathArrayOfValues { 3352 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 3353 } 3354 3355 type PolicySpecPathSelectorSupportingQueriesRestListQueryView struct{} 3356 3357 func (PolicySpecPathSelectorSupportingQueriesRestListQueryView) FieldPath() *PolicySpec_FieldSubPath { 3358 return &PolicySpec_FieldSubPath{ 3359 selector: PolicySpec_FieldPathSelectorSupportingQueries, 3360 subPath: NewPolicySpecSupportingAlertQueryFieldPathBuilder().RestListQuery().View().FieldPath(), 3361 } 3362 } 3363 3364 func (s PolicySpecPathSelectorSupportingQueriesRestListQueryView) WithValue(value string) *PolicySpec_FieldSubPathValue { 3365 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 3366 } 3367 3368 func (s PolicySpecPathSelectorSupportingQueriesRestListQueryView) WithArrayOfValues(values []string) *PolicySpec_FieldSubPathArrayOfValues { 3369 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 3370 } 3371 3372 type PolicySpecPathSelectorSupportingQueriesRestListQueryFieldMask struct{} 3373 3374 func (PolicySpecPathSelectorSupportingQueriesRestListQueryFieldMask) FieldPath() *PolicySpec_FieldSubPath { 3375 return &PolicySpec_FieldSubPath{ 3376 selector: PolicySpec_FieldPathSelectorSupportingQueries, 3377 subPath: NewPolicySpecSupportingAlertQueryFieldPathBuilder().RestListQuery().FieldMask().FieldPath(), 3378 } 3379 } 3380 3381 func (s PolicySpecPathSelectorSupportingQueriesRestListQueryFieldMask) WithValue(value string) *PolicySpec_FieldSubPathValue { 3382 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 3383 } 3384 3385 func (s PolicySpecPathSelectorSupportingQueriesRestListQueryFieldMask) WithArrayOfValues(values []string) *PolicySpec_FieldSubPathArrayOfValues { 3386 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 3387 } 3388 3389 type PolicySpecPathSelectorSupportingQueriesRestListQueryFilterTemplate struct{} 3390 3391 func (PolicySpecPathSelectorSupportingQueriesRestListQueryFilterTemplate) FieldPath() *PolicySpec_FieldSubPath { 3392 return &PolicySpec_FieldSubPath{ 3393 selector: PolicySpec_FieldPathSelectorSupportingQueries, 3394 subPath: NewPolicySpecSupportingAlertQueryFieldPathBuilder().RestListQuery().FilterTemplate().FieldPath(), 3395 } 3396 } 3397 3398 func (s PolicySpecPathSelectorSupportingQueriesRestListQueryFilterTemplate) WithValue(value string) *PolicySpec_FieldSubPathValue { 3399 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 3400 } 3401 3402 func (s PolicySpecPathSelectorSupportingQueriesRestListQueryFilterTemplate) WithArrayOfValues(values []string) *PolicySpec_FieldSubPathArrayOfValues { 3403 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 3404 } 3405 3406 type PolicySpecPathSelectorAiAgent struct{} 3407 3408 func (PolicySpecPathSelectorAiAgent) FieldPath() *PolicySpec_FieldTerminalPath { 3409 return &PolicySpec_FieldTerminalPath{selector: PolicySpec_FieldPathSelectorAiAgent} 3410 } 3411 3412 func (s PolicySpecPathSelectorAiAgent) WithValue(value *PolicySpec_AIAgentHandling) *PolicySpec_FieldTerminalPathValue { 3413 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldTerminalPathValue) 3414 } 3415 3416 func (s PolicySpecPathSelectorAiAgent) WithArrayOfValues(values []*PolicySpec_AIAgentHandling) *PolicySpec_FieldTerminalPathArrayOfValues { 3417 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldTerminalPathArrayOfValues) 3418 } 3419 3420 func (PolicySpecPathSelectorAiAgent) WithSubPath(subPath PolicySpecAIAgentHandling_FieldPath) *PolicySpec_FieldSubPath { 3421 return &PolicySpec_FieldSubPath{selector: PolicySpec_FieldPathSelectorAiAgent, subPath: subPath} 3422 } 3423 3424 func (s PolicySpecPathSelectorAiAgent) WithSubValue(subPathValue PolicySpecAIAgentHandling_FieldPathValue) *PolicySpec_FieldSubPathValue { 3425 return &PolicySpec_FieldSubPathValue{PolicySpec_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 3426 } 3427 3428 func (s PolicySpecPathSelectorAiAgent) WithSubArrayOfValues(subPathArrayOfValues PolicySpecAIAgentHandling_FieldPathArrayOfValues) *PolicySpec_FieldSubPathArrayOfValues { 3429 return &PolicySpec_FieldSubPathArrayOfValues{PolicySpec_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 3430 } 3431 3432 func (s PolicySpecPathSelectorAiAgent) WithSubArrayItemValue(subPathArrayItemValue PolicySpecAIAgentHandling_FieldPathArrayItemValue) *PolicySpec_FieldSubPathArrayItemValue { 3433 return &PolicySpec_FieldSubPathArrayItemValue{PolicySpec_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 3434 } 3435 3436 func (PolicySpecPathSelectorAiAgent) Enabled() PolicySpecPathSelectorAiAgentEnabled { 3437 return PolicySpecPathSelectorAiAgentEnabled{} 3438 } 3439 3440 func (PolicySpecPathSelectorAiAgent) EnabledConnectivity() PolicySpecPathSelectorAiAgentEnabledConnectivity { 3441 return PolicySpecPathSelectorAiAgentEnabledConnectivity{} 3442 } 3443 3444 func (PolicySpecPathSelectorAiAgent) AutoAcceptRemediation() PolicySpecPathSelectorAiAgentAutoAcceptRemediation { 3445 return PolicySpecPathSelectorAiAgentAutoAcceptRemediation{} 3446 } 3447 3448 func (PolicySpecPathSelectorAiAgent) EdgeConnectivity() PolicySpecPathSelectorAiAgentEdgeConnectivity { 3449 return PolicySpecPathSelectorAiAgentEdgeConnectivity{} 3450 } 3451 3452 func (PolicySpecPathSelectorAiAgent) RemediationOptions() PolicySpecPathSelectorAiAgentRemediationOptions { 3453 return PolicySpecPathSelectorAiAgentRemediationOptions{} 3454 } 3455 3456 type PolicySpecPathSelectorAiAgentEnabled struct{} 3457 3458 func (PolicySpecPathSelectorAiAgentEnabled) FieldPath() *PolicySpec_FieldSubPath { 3459 return &PolicySpec_FieldSubPath{ 3460 selector: PolicySpec_FieldPathSelectorAiAgent, 3461 subPath: NewPolicySpecAIAgentHandlingFieldPathBuilder().Enabled().FieldPath(), 3462 } 3463 } 3464 3465 func (s PolicySpecPathSelectorAiAgentEnabled) WithValue(value bool) *PolicySpec_FieldSubPathValue { 3466 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 3467 } 3468 3469 func (s PolicySpecPathSelectorAiAgentEnabled) WithArrayOfValues(values []bool) *PolicySpec_FieldSubPathArrayOfValues { 3470 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 3471 } 3472 3473 type PolicySpecPathSelectorAiAgentEnabledConnectivity struct{} 3474 3475 func (PolicySpecPathSelectorAiAgentEnabledConnectivity) FieldPath() *PolicySpec_FieldSubPath { 3476 return &PolicySpec_FieldSubPath{ 3477 selector: PolicySpec_FieldPathSelectorAiAgent, 3478 subPath: NewPolicySpecAIAgentHandlingFieldPathBuilder().EnabledConnectivity().FieldPath(), 3479 } 3480 } 3481 3482 func (s PolicySpecPathSelectorAiAgentEnabledConnectivity) WithValue(value bool) *PolicySpec_FieldSubPathValue { 3483 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 3484 } 3485 3486 func (s PolicySpecPathSelectorAiAgentEnabledConnectivity) WithArrayOfValues(values []bool) *PolicySpec_FieldSubPathArrayOfValues { 3487 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 3488 } 3489 3490 type PolicySpecPathSelectorAiAgentAutoAcceptRemediation struct{} 3491 3492 func (PolicySpecPathSelectorAiAgentAutoAcceptRemediation) FieldPath() *PolicySpec_FieldSubPath { 3493 return &PolicySpec_FieldSubPath{ 3494 selector: PolicySpec_FieldPathSelectorAiAgent, 3495 subPath: NewPolicySpecAIAgentHandlingFieldPathBuilder().AutoAcceptRemediation().FieldPath(), 3496 } 3497 } 3498 3499 func (s PolicySpecPathSelectorAiAgentAutoAcceptRemediation) WithValue(value bool) *PolicySpec_FieldSubPathValue { 3500 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 3501 } 3502 3503 func (s PolicySpecPathSelectorAiAgentAutoAcceptRemediation) WithArrayOfValues(values []bool) *PolicySpec_FieldSubPathArrayOfValues { 3504 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 3505 } 3506 3507 type PolicySpecPathSelectorAiAgentEdgeConnectivity struct{} 3508 3509 func (PolicySpecPathSelectorAiAgentEdgeConnectivity) FieldPath() *PolicySpec_FieldSubPath { 3510 return &PolicySpec_FieldSubPath{ 3511 selector: PolicySpec_FieldPathSelectorAiAgent, 3512 subPath: NewPolicySpecAIAgentHandlingFieldPathBuilder().EdgeConnectivity().FieldPath(), 3513 } 3514 } 3515 3516 func (s PolicySpecPathSelectorAiAgentEdgeConnectivity) WithValue(value *PolicySpec_AIAgentHandling_EdgeConnectivity) *PolicySpec_FieldSubPathValue { 3517 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 3518 } 3519 3520 func (s PolicySpecPathSelectorAiAgentEdgeConnectivity) WithArrayOfValues(values []*PolicySpec_AIAgentHandling_EdgeConnectivity) *PolicySpec_FieldSubPathArrayOfValues { 3521 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 3522 } 3523 3524 func (PolicySpecPathSelectorAiAgentEdgeConnectivity) DeviceSsh() PolicySpecPathSelectorAiAgentEdgeConnectivityDeviceSsh { 3525 return PolicySpecPathSelectorAiAgentEdgeConnectivityDeviceSsh{} 3526 } 3527 3528 func (PolicySpecPathSelectorAiAgentEdgeConnectivity) ProxiesSsh() PolicySpecPathSelectorAiAgentEdgeConnectivityProxiesSsh { 3529 return PolicySpecPathSelectorAiAgentEdgeConnectivityProxiesSsh{} 3530 } 3531 3532 func (PolicySpecPathSelectorAiAgentEdgeConnectivity) PodSsh() PolicySpecPathSelectorAiAgentEdgeConnectivityPodSsh { 3533 return PolicySpecPathSelectorAiAgentEdgeConnectivityPodSsh{} 3534 } 3535 3536 func (PolicySpecPathSelectorAiAgentEdgeConnectivity) AllowedBins() PolicySpecPathSelectorAiAgentEdgeConnectivityAllowedBins { 3537 return PolicySpecPathSelectorAiAgentEdgeConnectivityAllowedBins{} 3538 } 3539 3540 type PolicySpecPathSelectorAiAgentEdgeConnectivityDeviceSsh struct{} 3541 3542 func (PolicySpecPathSelectorAiAgentEdgeConnectivityDeviceSsh) FieldPath() *PolicySpec_FieldSubPath { 3543 return &PolicySpec_FieldSubPath{ 3544 selector: PolicySpec_FieldPathSelectorAiAgent, 3545 subPath: NewPolicySpecAIAgentHandlingFieldPathBuilder().EdgeConnectivity().DeviceSsh().FieldPath(), 3546 } 3547 } 3548 3549 func (s PolicySpecPathSelectorAiAgentEdgeConnectivityDeviceSsh) WithValue(value *PolicySpec_AIAgentHandling_EdgeConnectivity_DeviceSSH) *PolicySpec_FieldSubPathValue { 3550 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 3551 } 3552 3553 func (s PolicySpecPathSelectorAiAgentEdgeConnectivityDeviceSsh) WithArrayOfValues(values []*PolicySpec_AIAgentHandling_EdgeConnectivity_DeviceSSH) *PolicySpec_FieldSubPathArrayOfValues { 3554 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 3555 } 3556 3557 func (PolicySpecPathSelectorAiAgentEdgeConnectivityDeviceSsh) ClientName() PolicySpecPathSelectorAiAgentEdgeConnectivityDeviceSshClientName { 3558 return PolicySpecPathSelectorAiAgentEdgeConnectivityDeviceSshClientName{} 3559 } 3560 3561 type PolicySpecPathSelectorAiAgentEdgeConnectivityDeviceSshClientName struct{} 3562 3563 func (PolicySpecPathSelectorAiAgentEdgeConnectivityDeviceSshClientName) FieldPath() *PolicySpec_FieldSubPath { 3564 return &PolicySpec_FieldSubPath{ 3565 selector: PolicySpec_FieldPathSelectorAiAgent, 3566 subPath: NewPolicySpecAIAgentHandlingFieldPathBuilder().EdgeConnectivity().DeviceSsh().ClientName().FieldPath(), 3567 } 3568 } 3569 3570 func (s PolicySpecPathSelectorAiAgentEdgeConnectivityDeviceSshClientName) WithValue(value string) *PolicySpec_FieldSubPathValue { 3571 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 3572 } 3573 3574 func (s PolicySpecPathSelectorAiAgentEdgeConnectivityDeviceSshClientName) WithArrayOfValues(values []string) *PolicySpec_FieldSubPathArrayOfValues { 3575 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 3576 } 3577 3578 type PolicySpecPathSelectorAiAgentEdgeConnectivityProxiesSsh struct{} 3579 3580 func (PolicySpecPathSelectorAiAgentEdgeConnectivityProxiesSsh) FieldPath() *PolicySpec_FieldSubPath { 3581 return &PolicySpec_FieldSubPath{ 3582 selector: PolicySpec_FieldPathSelectorAiAgent, 3583 subPath: NewPolicySpecAIAgentHandlingFieldPathBuilder().EdgeConnectivity().ProxiesSsh().FieldPath(), 3584 } 3585 } 3586 3587 func (s PolicySpecPathSelectorAiAgentEdgeConnectivityProxiesSsh) WithValue(value *PolicySpec_AIAgentHandling_EdgeConnectivity_ProxiesSSH) *PolicySpec_FieldSubPathValue { 3588 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 3589 } 3590 3591 func (s PolicySpecPathSelectorAiAgentEdgeConnectivityProxiesSsh) WithArrayOfValues(values []*PolicySpec_AIAgentHandling_EdgeConnectivity_ProxiesSSH) *PolicySpec_FieldSubPathArrayOfValues { 3592 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 3593 } 3594 3595 func (PolicySpecPathSelectorAiAgentEdgeConnectivityProxiesSsh) ServiceDomain() PolicySpecPathSelectorAiAgentEdgeConnectivityProxiesSshServiceDomain { 3596 return PolicySpecPathSelectorAiAgentEdgeConnectivityProxiesSshServiceDomain{} 3597 } 3598 3599 func (PolicySpecPathSelectorAiAgentEdgeConnectivityProxiesSsh) ProviderNameTmpl() PolicySpecPathSelectorAiAgentEdgeConnectivityProxiesSshProviderNameTmpl { 3600 return PolicySpecPathSelectorAiAgentEdgeConnectivityProxiesSshProviderNameTmpl{} 3601 } 3602 3603 func (PolicySpecPathSelectorAiAgentEdgeConnectivityProxiesSsh) ClientName() PolicySpecPathSelectorAiAgentEdgeConnectivityProxiesSshClientName { 3604 return PolicySpecPathSelectorAiAgentEdgeConnectivityProxiesSshClientName{} 3605 } 3606 3607 func (PolicySpecPathSelectorAiAgentEdgeConnectivityProxiesSsh) ServiceName() PolicySpecPathSelectorAiAgentEdgeConnectivityProxiesSshServiceName { 3608 return PolicySpecPathSelectorAiAgentEdgeConnectivityProxiesSshServiceName{} 3609 } 3610 3611 type PolicySpecPathSelectorAiAgentEdgeConnectivityProxiesSshServiceDomain struct{} 3612 3613 func (PolicySpecPathSelectorAiAgentEdgeConnectivityProxiesSshServiceDomain) FieldPath() *PolicySpec_FieldSubPath { 3614 return &PolicySpec_FieldSubPath{ 3615 selector: PolicySpec_FieldPathSelectorAiAgent, 3616 subPath: NewPolicySpecAIAgentHandlingFieldPathBuilder().EdgeConnectivity().ProxiesSsh().ServiceDomain().FieldPath(), 3617 } 3618 } 3619 3620 func (s PolicySpecPathSelectorAiAgentEdgeConnectivityProxiesSshServiceDomain) WithValue(value string) *PolicySpec_FieldSubPathValue { 3621 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 3622 } 3623 3624 func (s PolicySpecPathSelectorAiAgentEdgeConnectivityProxiesSshServiceDomain) WithArrayOfValues(values []string) *PolicySpec_FieldSubPathArrayOfValues { 3625 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 3626 } 3627 3628 type PolicySpecPathSelectorAiAgentEdgeConnectivityProxiesSshProviderNameTmpl struct{} 3629 3630 func (PolicySpecPathSelectorAiAgentEdgeConnectivityProxiesSshProviderNameTmpl) FieldPath() *PolicySpec_FieldSubPath { 3631 return &PolicySpec_FieldSubPath{ 3632 selector: PolicySpec_FieldPathSelectorAiAgent, 3633 subPath: NewPolicySpecAIAgentHandlingFieldPathBuilder().EdgeConnectivity().ProxiesSsh().ProviderNameTmpl().FieldPath(), 3634 } 3635 } 3636 3637 func (s PolicySpecPathSelectorAiAgentEdgeConnectivityProxiesSshProviderNameTmpl) WithValue(value string) *PolicySpec_FieldSubPathValue { 3638 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 3639 } 3640 3641 func (s PolicySpecPathSelectorAiAgentEdgeConnectivityProxiesSshProviderNameTmpl) WithArrayOfValues(values []string) *PolicySpec_FieldSubPathArrayOfValues { 3642 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 3643 } 3644 3645 type PolicySpecPathSelectorAiAgentEdgeConnectivityProxiesSshClientName struct{} 3646 3647 func (PolicySpecPathSelectorAiAgentEdgeConnectivityProxiesSshClientName) FieldPath() *PolicySpec_FieldSubPath { 3648 return &PolicySpec_FieldSubPath{ 3649 selector: PolicySpec_FieldPathSelectorAiAgent, 3650 subPath: NewPolicySpecAIAgentHandlingFieldPathBuilder().EdgeConnectivity().ProxiesSsh().ClientName().FieldPath(), 3651 } 3652 } 3653 3654 func (s PolicySpecPathSelectorAiAgentEdgeConnectivityProxiesSshClientName) WithValue(value string) *PolicySpec_FieldSubPathValue { 3655 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 3656 } 3657 3658 func (s PolicySpecPathSelectorAiAgentEdgeConnectivityProxiesSshClientName) WithArrayOfValues(values []string) *PolicySpec_FieldSubPathArrayOfValues { 3659 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 3660 } 3661 3662 type PolicySpecPathSelectorAiAgentEdgeConnectivityProxiesSshServiceName struct{} 3663 3664 func (PolicySpecPathSelectorAiAgentEdgeConnectivityProxiesSshServiceName) FieldPath() *PolicySpec_FieldSubPath { 3665 return &PolicySpec_FieldSubPath{ 3666 selector: PolicySpec_FieldPathSelectorAiAgent, 3667 subPath: NewPolicySpecAIAgentHandlingFieldPathBuilder().EdgeConnectivity().ProxiesSsh().ServiceName().FieldPath(), 3668 } 3669 } 3670 3671 func (s PolicySpecPathSelectorAiAgentEdgeConnectivityProxiesSshServiceName) WithValue(value string) *PolicySpec_FieldSubPathValue { 3672 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 3673 } 3674 3675 func (s PolicySpecPathSelectorAiAgentEdgeConnectivityProxiesSshServiceName) WithArrayOfValues(values []string) *PolicySpec_FieldSubPathArrayOfValues { 3676 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 3677 } 3678 3679 type PolicySpecPathSelectorAiAgentEdgeConnectivityPodSsh struct{} 3680 3681 func (PolicySpecPathSelectorAiAgentEdgeConnectivityPodSsh) FieldPath() *PolicySpec_FieldSubPath { 3682 return &PolicySpec_FieldSubPath{ 3683 selector: PolicySpec_FieldPathSelectorAiAgent, 3684 subPath: NewPolicySpecAIAgentHandlingFieldPathBuilder().EdgeConnectivity().PodSsh().FieldPath(), 3685 } 3686 } 3687 3688 func (s PolicySpecPathSelectorAiAgentEdgeConnectivityPodSsh) WithValue(value *PolicySpec_AIAgentHandling_EdgeConnectivity_PodSSH) *PolicySpec_FieldSubPathValue { 3689 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 3690 } 3691 3692 func (s PolicySpecPathSelectorAiAgentEdgeConnectivityPodSsh) WithArrayOfValues(values []*PolicySpec_AIAgentHandling_EdgeConnectivity_PodSSH) *PolicySpec_FieldSubPathArrayOfValues { 3693 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 3694 } 3695 3696 func (PolicySpecPathSelectorAiAgentEdgeConnectivityPodSsh) ClientName() PolicySpecPathSelectorAiAgentEdgeConnectivityPodSshClientName { 3697 return PolicySpecPathSelectorAiAgentEdgeConnectivityPodSshClientName{} 3698 } 3699 3700 func (PolicySpecPathSelectorAiAgentEdgeConnectivityPodSsh) Username() PolicySpecPathSelectorAiAgentEdgeConnectivityPodSshUsername { 3701 return PolicySpecPathSelectorAiAgentEdgeConnectivityPodSshUsername{} 3702 } 3703 3704 type PolicySpecPathSelectorAiAgentEdgeConnectivityPodSshClientName struct{} 3705 3706 func (PolicySpecPathSelectorAiAgentEdgeConnectivityPodSshClientName) FieldPath() *PolicySpec_FieldSubPath { 3707 return &PolicySpec_FieldSubPath{ 3708 selector: PolicySpec_FieldPathSelectorAiAgent, 3709 subPath: NewPolicySpecAIAgentHandlingFieldPathBuilder().EdgeConnectivity().PodSsh().ClientName().FieldPath(), 3710 } 3711 } 3712 3713 func (s PolicySpecPathSelectorAiAgentEdgeConnectivityPodSshClientName) WithValue(value string) *PolicySpec_FieldSubPathValue { 3714 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 3715 } 3716 3717 func (s PolicySpecPathSelectorAiAgentEdgeConnectivityPodSshClientName) WithArrayOfValues(values []string) *PolicySpec_FieldSubPathArrayOfValues { 3718 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 3719 } 3720 3721 type PolicySpecPathSelectorAiAgentEdgeConnectivityPodSshUsername struct{} 3722 3723 func (PolicySpecPathSelectorAiAgentEdgeConnectivityPodSshUsername) FieldPath() *PolicySpec_FieldSubPath { 3724 return &PolicySpec_FieldSubPath{ 3725 selector: PolicySpec_FieldPathSelectorAiAgent, 3726 subPath: NewPolicySpecAIAgentHandlingFieldPathBuilder().EdgeConnectivity().PodSsh().Username().FieldPath(), 3727 } 3728 } 3729 3730 func (s PolicySpecPathSelectorAiAgentEdgeConnectivityPodSshUsername) WithValue(value string) *PolicySpec_FieldSubPathValue { 3731 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 3732 } 3733 3734 func (s PolicySpecPathSelectorAiAgentEdgeConnectivityPodSshUsername) WithArrayOfValues(values []string) *PolicySpec_FieldSubPathArrayOfValues { 3735 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 3736 } 3737 3738 type PolicySpecPathSelectorAiAgentEdgeConnectivityAllowedBins struct{} 3739 3740 func (PolicySpecPathSelectorAiAgentEdgeConnectivityAllowedBins) FieldPath() *PolicySpec_FieldSubPath { 3741 return &PolicySpec_FieldSubPath{ 3742 selector: PolicySpec_FieldPathSelectorAiAgent, 3743 subPath: NewPolicySpecAIAgentHandlingFieldPathBuilder().EdgeConnectivity().AllowedBins().FieldPath(), 3744 } 3745 } 3746 3747 func (s PolicySpecPathSelectorAiAgentEdgeConnectivityAllowedBins) WithValue(value []string) *PolicySpec_FieldSubPathValue { 3748 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 3749 } 3750 3751 func (s PolicySpecPathSelectorAiAgentEdgeConnectivityAllowedBins) WithArrayOfValues(values [][]string) *PolicySpec_FieldSubPathArrayOfValues { 3752 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 3753 } 3754 3755 func (s PolicySpecPathSelectorAiAgentEdgeConnectivityAllowedBins) WithItemValue(value string) *PolicySpec_FieldSubPathArrayItemValue { 3756 return s.FieldPath().WithIArrayItemValue(value).(*PolicySpec_FieldSubPathArrayItemValue) 3757 } 3758 3759 type PolicySpecPathSelectorAiAgentRemediationOptions struct{} 3760 3761 func (PolicySpecPathSelectorAiAgentRemediationOptions) FieldPath() *PolicySpec_FieldSubPath { 3762 return &PolicySpec_FieldSubPath{ 3763 selector: PolicySpec_FieldPathSelectorAiAgent, 3764 subPath: NewPolicySpecAIAgentHandlingFieldPathBuilder().RemediationOptions().FieldPath(), 3765 } 3766 } 3767 3768 func (s PolicySpecPathSelectorAiAgentRemediationOptions) WithValue(value []*PolicySpec_AIAgentHandling_Remediation) *PolicySpec_FieldSubPathValue { 3769 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 3770 } 3771 3772 func (s PolicySpecPathSelectorAiAgentRemediationOptions) WithArrayOfValues(values [][]*PolicySpec_AIAgentHandling_Remediation) *PolicySpec_FieldSubPathArrayOfValues { 3773 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 3774 } 3775 3776 func (s PolicySpecPathSelectorAiAgentRemediationOptions) WithItemValue(value *PolicySpec_AIAgentHandling_Remediation) *PolicySpec_FieldSubPathArrayItemValue { 3777 return s.FieldPath().WithIArrayItemValue(value).(*PolicySpec_FieldSubPathArrayItemValue) 3778 } 3779 3780 func (PolicySpecPathSelectorAiAgentRemediationOptions) FixInSsh() PolicySpecPathSelectorAiAgentRemediationOptionsFixInSsh { 3781 return PolicySpecPathSelectorAiAgentRemediationOptionsFixInSsh{} 3782 } 3783 3784 func (PolicySpecPathSelectorAiAgentRemediationOptions) Reboot() PolicySpecPathSelectorAiAgentRemediationOptionsReboot { 3785 return PolicySpecPathSelectorAiAgentRemediationOptionsReboot{} 3786 } 3787 3788 type PolicySpecPathSelectorAiAgentRemediationOptionsFixInSsh struct{} 3789 3790 func (PolicySpecPathSelectorAiAgentRemediationOptionsFixInSsh) FieldPath() *PolicySpec_FieldSubPath { 3791 return &PolicySpec_FieldSubPath{ 3792 selector: PolicySpec_FieldPathSelectorAiAgent, 3793 subPath: NewPolicySpecAIAgentHandlingFieldPathBuilder().RemediationOptions().FixInSsh().FieldPath(), 3794 } 3795 } 3796 3797 func (s PolicySpecPathSelectorAiAgentRemediationOptionsFixInSsh) WithValue(value *PolicySpec_AIAgentHandling_Remediation_FixInSSH) *PolicySpec_FieldSubPathValue { 3798 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 3799 } 3800 3801 func (s PolicySpecPathSelectorAiAgentRemediationOptionsFixInSsh) WithArrayOfValues(values []*PolicySpec_AIAgentHandling_Remediation_FixInSSH) *PolicySpec_FieldSubPathArrayOfValues { 3802 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 3803 } 3804 3805 type PolicySpecPathSelectorAiAgentRemediationOptionsReboot struct{} 3806 3807 func (PolicySpecPathSelectorAiAgentRemediationOptionsReboot) FieldPath() *PolicySpec_FieldSubPath { 3808 return &PolicySpec_FieldSubPath{ 3809 selector: PolicySpec_FieldPathSelectorAiAgent, 3810 subPath: NewPolicySpecAIAgentHandlingFieldPathBuilder().RemediationOptions().Reboot().FieldPath(), 3811 } 3812 } 3813 3814 func (s PolicySpecPathSelectorAiAgentRemediationOptionsReboot) WithValue(value *PolicySpec_AIAgentHandling_Remediation_Reboot) *PolicySpec_FieldSubPathValue { 3815 return s.FieldPath().WithIValue(value).(*PolicySpec_FieldSubPathValue) 3816 } 3817 3818 func (s PolicySpecPathSelectorAiAgentRemediationOptionsReboot) WithArrayOfValues(values []*PolicySpec_AIAgentHandling_Remediation_Reboot) *PolicySpec_FieldSubPathArrayOfValues { 3819 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpec_FieldSubPathArrayOfValues) 3820 } 3821 3822 type PolicySpecResourceIdentityFieldPathBuilder struct{} 3823 3824 func NewPolicySpecResourceIdentityFieldPathBuilder() PolicySpecResourceIdentityFieldPathBuilder { 3825 return PolicySpecResourceIdentityFieldPathBuilder{} 3826 } 3827 func (PolicySpecResourceIdentityFieldPathBuilder) AlertingResource() PolicySpec_ResourceIdentityPathSelectorAlertingResource { 3828 return PolicySpec_ResourceIdentityPathSelectorAlertingResource{} 3829 } 3830 func (PolicySpecResourceIdentityFieldPathBuilder) Labels() PolicySpec_ResourceIdentityPathSelectorLabels { 3831 return PolicySpec_ResourceIdentityPathSelectorLabels{} 3832 } 3833 func (PolicySpecResourceIdentityFieldPathBuilder) NamePatterns() PolicySpec_ResourceIdentityPathSelectorNamePatterns { 3834 return PolicySpec_ResourceIdentityPathSelectorNamePatterns{} 3835 } 3836 3837 type PolicySpec_ResourceIdentityPathSelectorAlertingResource struct{} 3838 3839 func (PolicySpec_ResourceIdentityPathSelectorAlertingResource) FieldPath() *PolicySpecResourceIdentity_FieldTerminalPath { 3840 return &PolicySpecResourceIdentity_FieldTerminalPath{selector: PolicySpecResourceIdentity_FieldPathSelectorAlertingResource} 3841 } 3842 3843 func (s PolicySpec_ResourceIdentityPathSelectorAlertingResource) WithValue(value *meta_resource.Reference) *PolicySpecResourceIdentity_FieldTerminalPathValue { 3844 return s.FieldPath().WithIValue(value).(*PolicySpecResourceIdentity_FieldTerminalPathValue) 3845 } 3846 3847 func (s PolicySpec_ResourceIdentityPathSelectorAlertingResource) WithArrayOfValues(values []*meta_resource.Reference) *PolicySpecResourceIdentity_FieldTerminalPathArrayOfValues { 3848 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecResourceIdentity_FieldTerminalPathArrayOfValues) 3849 } 3850 3851 type PolicySpec_ResourceIdentityPathSelectorLabels struct{} 3852 3853 func (PolicySpec_ResourceIdentityPathSelectorLabels) FieldPath() *PolicySpecResourceIdentity_FieldTerminalPath { 3854 return &PolicySpecResourceIdentity_FieldTerminalPath{selector: PolicySpecResourceIdentity_FieldPathSelectorLabels} 3855 } 3856 3857 func (s PolicySpec_ResourceIdentityPathSelectorLabels) WithValue(value []*PolicySpec_ResourceIdentity_LabelInfo) *PolicySpecResourceIdentity_FieldTerminalPathValue { 3858 return s.FieldPath().WithIValue(value).(*PolicySpecResourceIdentity_FieldTerminalPathValue) 3859 } 3860 3861 func (s PolicySpec_ResourceIdentityPathSelectorLabels) WithArrayOfValues(values [][]*PolicySpec_ResourceIdentity_LabelInfo) *PolicySpecResourceIdentity_FieldTerminalPathArrayOfValues { 3862 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecResourceIdentity_FieldTerminalPathArrayOfValues) 3863 } 3864 3865 func (s PolicySpec_ResourceIdentityPathSelectorLabels) WithItemValue(value *PolicySpec_ResourceIdentity_LabelInfo) *PolicySpecResourceIdentity_FieldTerminalPathArrayItemValue { 3866 return s.FieldPath().WithIArrayItemValue(value).(*PolicySpecResourceIdentity_FieldTerminalPathArrayItemValue) 3867 } 3868 func (PolicySpec_ResourceIdentityPathSelectorLabels) WithSubPath(subPath PolicySpecResourceIdentityLabelInfo_FieldPath) *PolicySpecResourceIdentity_FieldSubPath { 3869 return &PolicySpecResourceIdentity_FieldSubPath{selector: PolicySpecResourceIdentity_FieldPathSelectorLabels, subPath: subPath} 3870 } 3871 3872 func (s PolicySpec_ResourceIdentityPathSelectorLabels) WithSubValue(subPathValue PolicySpecResourceIdentityLabelInfo_FieldPathValue) *PolicySpecResourceIdentity_FieldSubPathValue { 3873 return &PolicySpecResourceIdentity_FieldSubPathValue{PolicySpecResourceIdentity_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 3874 } 3875 3876 func (s PolicySpec_ResourceIdentityPathSelectorLabels) WithSubArrayOfValues(subPathArrayOfValues PolicySpecResourceIdentityLabelInfo_FieldPathArrayOfValues) *PolicySpecResourceIdentity_FieldSubPathArrayOfValues { 3877 return &PolicySpecResourceIdentity_FieldSubPathArrayOfValues{PolicySpecResourceIdentity_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 3878 } 3879 3880 func (s PolicySpec_ResourceIdentityPathSelectorLabels) WithSubArrayItemValue(subPathArrayItemValue PolicySpecResourceIdentityLabelInfo_FieldPathArrayItemValue) *PolicySpecResourceIdentity_FieldSubPathArrayItemValue { 3881 return &PolicySpecResourceIdentity_FieldSubPathArrayItemValue{PolicySpecResourceIdentity_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 3882 } 3883 3884 func (PolicySpec_ResourceIdentityPathSelectorLabels) Key() PolicySpec_ResourceIdentityPathSelectorLabelsKey { 3885 return PolicySpec_ResourceIdentityPathSelectorLabelsKey{} 3886 } 3887 3888 func (PolicySpec_ResourceIdentityPathSelectorLabels) Contexts() PolicySpec_ResourceIdentityPathSelectorLabelsContexts { 3889 return PolicySpec_ResourceIdentityPathSelectorLabelsContexts{} 3890 } 3891 3892 func (PolicySpec_ResourceIdentityPathSelectorLabels) MappedNameSegment() PolicySpec_ResourceIdentityPathSelectorLabelsMappedNameSegment { 3893 return PolicySpec_ResourceIdentityPathSelectorLabelsMappedNameSegment{} 3894 } 3895 3896 type PolicySpec_ResourceIdentityPathSelectorLabelsKey struct{} 3897 3898 func (PolicySpec_ResourceIdentityPathSelectorLabelsKey) FieldPath() *PolicySpecResourceIdentity_FieldSubPath { 3899 return &PolicySpecResourceIdentity_FieldSubPath{ 3900 selector: PolicySpecResourceIdentity_FieldPathSelectorLabels, 3901 subPath: NewPolicySpecResourceIdentityLabelInfoFieldPathBuilder().Key().FieldPath(), 3902 } 3903 } 3904 3905 func (s PolicySpec_ResourceIdentityPathSelectorLabelsKey) WithValue(value string) *PolicySpecResourceIdentity_FieldSubPathValue { 3906 return s.FieldPath().WithIValue(value).(*PolicySpecResourceIdentity_FieldSubPathValue) 3907 } 3908 3909 func (s PolicySpec_ResourceIdentityPathSelectorLabelsKey) WithArrayOfValues(values []string) *PolicySpecResourceIdentity_FieldSubPathArrayOfValues { 3910 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecResourceIdentity_FieldSubPathArrayOfValues) 3911 } 3912 3913 type PolicySpec_ResourceIdentityPathSelectorLabelsContexts struct{} 3914 3915 func (PolicySpec_ResourceIdentityPathSelectorLabelsContexts) FieldPath() *PolicySpecResourceIdentity_FieldSubPath { 3916 return &PolicySpecResourceIdentity_FieldSubPath{ 3917 selector: PolicySpecResourceIdentity_FieldPathSelectorLabels, 3918 subPath: NewPolicySpecResourceIdentityLabelInfoFieldPathBuilder().Contexts().FieldPath(), 3919 } 3920 } 3921 3922 func (s PolicySpec_ResourceIdentityPathSelectorLabelsContexts) WithValue(value []PolicySpec_ResourceIdentity_LabelInfo_UsageContext) *PolicySpecResourceIdentity_FieldSubPathValue { 3923 return s.FieldPath().WithIValue(value).(*PolicySpecResourceIdentity_FieldSubPathValue) 3924 } 3925 3926 func (s PolicySpec_ResourceIdentityPathSelectorLabelsContexts) WithArrayOfValues(values [][]PolicySpec_ResourceIdentity_LabelInfo_UsageContext) *PolicySpecResourceIdentity_FieldSubPathArrayOfValues { 3927 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecResourceIdentity_FieldSubPathArrayOfValues) 3928 } 3929 3930 func (s PolicySpec_ResourceIdentityPathSelectorLabelsContexts) WithItemValue(value PolicySpec_ResourceIdentity_LabelInfo_UsageContext) *PolicySpecResourceIdentity_FieldSubPathArrayItemValue { 3931 return s.FieldPath().WithIArrayItemValue(value).(*PolicySpecResourceIdentity_FieldSubPathArrayItemValue) 3932 } 3933 3934 type PolicySpec_ResourceIdentityPathSelectorLabelsMappedNameSegment struct{} 3935 3936 func (PolicySpec_ResourceIdentityPathSelectorLabelsMappedNameSegment) FieldPath() *PolicySpecResourceIdentity_FieldSubPath { 3937 return &PolicySpecResourceIdentity_FieldSubPath{ 3938 selector: PolicySpecResourceIdentity_FieldPathSelectorLabels, 3939 subPath: NewPolicySpecResourceIdentityLabelInfoFieldPathBuilder().MappedNameSegment().FieldPath(), 3940 } 3941 } 3942 3943 func (s PolicySpec_ResourceIdentityPathSelectorLabelsMappedNameSegment) WithValue(value string) *PolicySpecResourceIdentity_FieldSubPathValue { 3944 return s.FieldPath().WithIValue(value).(*PolicySpecResourceIdentity_FieldSubPathValue) 3945 } 3946 3947 func (s PolicySpec_ResourceIdentityPathSelectorLabelsMappedNameSegment) WithArrayOfValues(values []string) *PolicySpecResourceIdentity_FieldSubPathArrayOfValues { 3948 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecResourceIdentity_FieldSubPathArrayOfValues) 3949 } 3950 3951 type PolicySpec_ResourceIdentityPathSelectorNamePatterns struct{} 3952 3953 func (PolicySpec_ResourceIdentityPathSelectorNamePatterns) FieldPath() *PolicySpecResourceIdentity_FieldTerminalPath { 3954 return &PolicySpecResourceIdentity_FieldTerminalPath{selector: PolicySpecResourceIdentity_FieldPathSelectorNamePatterns} 3955 } 3956 3957 func (s PolicySpec_ResourceIdentityPathSelectorNamePatterns) WithValue(value []string) *PolicySpecResourceIdentity_FieldTerminalPathValue { 3958 return s.FieldPath().WithIValue(value).(*PolicySpecResourceIdentity_FieldTerminalPathValue) 3959 } 3960 3961 func (s PolicySpec_ResourceIdentityPathSelectorNamePatterns) WithArrayOfValues(values [][]string) *PolicySpecResourceIdentity_FieldTerminalPathArrayOfValues { 3962 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecResourceIdentity_FieldTerminalPathArrayOfValues) 3963 } 3964 3965 func (s PolicySpec_ResourceIdentityPathSelectorNamePatterns) WithItemValue(value string) *PolicySpecResourceIdentity_FieldTerminalPathArrayItemValue { 3966 return s.FieldPath().WithIArrayItemValue(value).(*PolicySpecResourceIdentity_FieldTerminalPathArrayItemValue) 3967 } 3968 3969 type PolicySpecSupportingAlertQueryFieldPathBuilder struct{} 3970 3971 func NewPolicySpecSupportingAlertQueryFieldPathBuilder() PolicySpecSupportingAlertQueryFieldPathBuilder { 3972 return PolicySpecSupportingAlertQueryFieldPathBuilder{} 3973 } 3974 func (PolicySpecSupportingAlertQueryFieldPathBuilder) TsQuery() PolicySpec_SupportingAlertQueryPathSelectorTsQuery { 3975 return PolicySpec_SupportingAlertQueryPathSelectorTsQuery{} 3976 } 3977 func (PolicySpecSupportingAlertQueryFieldPathBuilder) LogQuery() PolicySpec_SupportingAlertQueryPathSelectorLogQuery { 3978 return PolicySpec_SupportingAlertQueryPathSelectorLogQuery{} 3979 } 3980 func (PolicySpecSupportingAlertQueryFieldPathBuilder) RestGetQuery() PolicySpec_SupportingAlertQueryPathSelectorRestGetQuery { 3981 return PolicySpec_SupportingAlertQueryPathSelectorRestGetQuery{} 3982 } 3983 func (PolicySpecSupportingAlertQueryFieldPathBuilder) RestListQuery() PolicySpec_SupportingAlertQueryPathSelectorRestListQuery { 3984 return PolicySpec_SupportingAlertQueryPathSelectorRestListQuery{} 3985 } 3986 3987 type PolicySpec_SupportingAlertQueryPathSelectorTsQuery struct{} 3988 3989 func (PolicySpec_SupportingAlertQueryPathSelectorTsQuery) FieldPath() *PolicySpecSupportingAlertQuery_FieldTerminalPath { 3990 return &PolicySpecSupportingAlertQuery_FieldTerminalPath{selector: PolicySpecSupportingAlertQuery_FieldPathSelectorTsQuery} 3991 } 3992 3993 func (s PolicySpec_SupportingAlertQueryPathSelectorTsQuery) WithValue(value *PolicySpec_SupportingAlertQuery_TsQuery) *PolicySpecSupportingAlertQuery_FieldTerminalPathValue { 3994 return s.FieldPath().WithIValue(value).(*PolicySpecSupportingAlertQuery_FieldTerminalPathValue) 3995 } 3996 3997 func (s PolicySpec_SupportingAlertQueryPathSelectorTsQuery) WithArrayOfValues(values []*PolicySpec_SupportingAlertQuery_TsQuery) *PolicySpecSupportingAlertQuery_FieldTerminalPathArrayOfValues { 3998 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecSupportingAlertQuery_FieldTerminalPathArrayOfValues) 3999 } 4000 4001 func (PolicySpec_SupportingAlertQueryPathSelectorTsQuery) WithSubPath(subPath PolicySpecSupportingAlertQueryTsQuery_FieldPath) *PolicySpecSupportingAlertQuery_FieldSubPath { 4002 return &PolicySpecSupportingAlertQuery_FieldSubPath{selector: PolicySpecSupportingAlertQuery_FieldPathSelectorTsQuery, subPath: subPath} 4003 } 4004 4005 func (s PolicySpec_SupportingAlertQueryPathSelectorTsQuery) WithSubValue(subPathValue PolicySpecSupportingAlertQueryTsQuery_FieldPathValue) *PolicySpecSupportingAlertQuery_FieldSubPathValue { 4006 return &PolicySpecSupportingAlertQuery_FieldSubPathValue{PolicySpecSupportingAlertQuery_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 4007 } 4008 4009 func (s PolicySpec_SupportingAlertQueryPathSelectorTsQuery) WithSubArrayOfValues(subPathArrayOfValues PolicySpecSupportingAlertQueryTsQuery_FieldPathArrayOfValues) *PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues { 4010 return &PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues{PolicySpecSupportingAlertQuery_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 4011 } 4012 4013 func (s PolicySpec_SupportingAlertQueryPathSelectorTsQuery) WithSubArrayItemValue(subPathArrayItemValue PolicySpecSupportingAlertQueryTsQuery_FieldPathArrayItemValue) *PolicySpecSupportingAlertQuery_FieldSubPathArrayItemValue { 4014 return &PolicySpecSupportingAlertQuery_FieldSubPathArrayItemValue{PolicySpecSupportingAlertQuery_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 4015 } 4016 4017 func (PolicySpec_SupportingAlertQueryPathSelectorTsQuery) Description() PolicySpec_SupportingAlertQueryPathSelectorTsQueryDescription { 4018 return PolicySpec_SupportingAlertQueryPathSelectorTsQueryDescription{} 4019 } 4020 4021 func (PolicySpec_SupportingAlertQueryPathSelectorTsQuery) FilterTemplate() PolicySpec_SupportingAlertQueryPathSelectorTsQueryFilterTemplate { 4022 return PolicySpec_SupportingAlertQueryPathSelectorTsQueryFilterTemplate{} 4023 } 4024 4025 func (PolicySpec_SupportingAlertQueryPathSelectorTsQuery) Aggregation() PolicySpec_SupportingAlertQueryPathSelectorTsQueryAggregation { 4026 return PolicySpec_SupportingAlertQueryPathSelectorTsQueryAggregation{} 4027 } 4028 4029 type PolicySpec_SupportingAlertQueryPathSelectorTsQueryDescription struct{} 4030 4031 func (PolicySpec_SupportingAlertQueryPathSelectorTsQueryDescription) FieldPath() *PolicySpecSupportingAlertQuery_FieldSubPath { 4032 return &PolicySpecSupportingAlertQuery_FieldSubPath{ 4033 selector: PolicySpecSupportingAlertQuery_FieldPathSelectorTsQuery, 4034 subPath: NewPolicySpecSupportingAlertQueryTsQueryFieldPathBuilder().Description().FieldPath(), 4035 } 4036 } 4037 4038 func (s PolicySpec_SupportingAlertQueryPathSelectorTsQueryDescription) WithValue(value string) *PolicySpecSupportingAlertQuery_FieldSubPathValue { 4039 return s.FieldPath().WithIValue(value).(*PolicySpecSupportingAlertQuery_FieldSubPathValue) 4040 } 4041 4042 func (s PolicySpec_SupportingAlertQueryPathSelectorTsQueryDescription) WithArrayOfValues(values []string) *PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues { 4043 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues) 4044 } 4045 4046 type PolicySpec_SupportingAlertQueryPathSelectorTsQueryFilterTemplate struct{} 4047 4048 func (PolicySpec_SupportingAlertQueryPathSelectorTsQueryFilterTemplate) FieldPath() *PolicySpecSupportingAlertQuery_FieldSubPath { 4049 return &PolicySpecSupportingAlertQuery_FieldSubPath{ 4050 selector: PolicySpecSupportingAlertQuery_FieldPathSelectorTsQuery, 4051 subPath: NewPolicySpecSupportingAlertQueryTsQueryFieldPathBuilder().FilterTemplate().FieldPath(), 4052 } 4053 } 4054 4055 func (s PolicySpec_SupportingAlertQueryPathSelectorTsQueryFilterTemplate) WithValue(value string) *PolicySpecSupportingAlertQuery_FieldSubPathValue { 4056 return s.FieldPath().WithIValue(value).(*PolicySpecSupportingAlertQuery_FieldSubPathValue) 4057 } 4058 4059 func (s PolicySpec_SupportingAlertQueryPathSelectorTsQueryFilterTemplate) WithArrayOfValues(values []string) *PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues { 4060 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues) 4061 } 4062 4063 type PolicySpec_SupportingAlertQueryPathSelectorTsQueryAggregation struct{} 4064 4065 func (PolicySpec_SupportingAlertQueryPathSelectorTsQueryAggregation) FieldPath() *PolicySpecSupportingAlertQuery_FieldSubPath { 4066 return &PolicySpecSupportingAlertQuery_FieldSubPath{ 4067 selector: PolicySpecSupportingAlertQuery_FieldPathSelectorTsQuery, 4068 subPath: NewPolicySpecSupportingAlertQueryTsQueryFieldPathBuilder().Aggregation().FieldPath(), 4069 } 4070 } 4071 4072 func (s PolicySpec_SupportingAlertQueryPathSelectorTsQueryAggregation) WithValue(value *monitoring_common.Aggregation) *PolicySpecSupportingAlertQuery_FieldSubPathValue { 4073 return s.FieldPath().WithIValue(value).(*PolicySpecSupportingAlertQuery_FieldSubPathValue) 4074 } 4075 4076 func (s PolicySpec_SupportingAlertQueryPathSelectorTsQueryAggregation) WithArrayOfValues(values []*monitoring_common.Aggregation) *PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues { 4077 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues) 4078 } 4079 4080 func (PolicySpec_SupportingAlertQueryPathSelectorTsQueryAggregation) AlignmentPeriod() PolicySpec_SupportingAlertQueryPathSelectorTsQueryAggregationAlignmentPeriod { 4081 return PolicySpec_SupportingAlertQueryPathSelectorTsQueryAggregationAlignmentPeriod{} 4082 } 4083 4084 func (PolicySpec_SupportingAlertQueryPathSelectorTsQueryAggregation) PerSeriesAligner() PolicySpec_SupportingAlertQueryPathSelectorTsQueryAggregationPerSeriesAligner { 4085 return PolicySpec_SupportingAlertQueryPathSelectorTsQueryAggregationPerSeriesAligner{} 4086 } 4087 4088 func (PolicySpec_SupportingAlertQueryPathSelectorTsQueryAggregation) CrossSeriesReducer() PolicySpec_SupportingAlertQueryPathSelectorTsQueryAggregationCrossSeriesReducer { 4089 return PolicySpec_SupportingAlertQueryPathSelectorTsQueryAggregationCrossSeriesReducer{} 4090 } 4091 4092 func (PolicySpec_SupportingAlertQueryPathSelectorTsQueryAggregation) GroupByFields() PolicySpec_SupportingAlertQueryPathSelectorTsQueryAggregationGroupByFields { 4093 return PolicySpec_SupportingAlertQueryPathSelectorTsQueryAggregationGroupByFields{} 4094 } 4095 4096 type PolicySpec_SupportingAlertQueryPathSelectorTsQueryAggregationAlignmentPeriod struct{} 4097 4098 func (PolicySpec_SupportingAlertQueryPathSelectorTsQueryAggregationAlignmentPeriod) FieldPath() *PolicySpecSupportingAlertQuery_FieldSubPath { 4099 return &PolicySpecSupportingAlertQuery_FieldSubPath{ 4100 selector: PolicySpecSupportingAlertQuery_FieldPathSelectorTsQuery, 4101 subPath: NewPolicySpecSupportingAlertQueryTsQueryFieldPathBuilder().Aggregation().AlignmentPeriod().FieldPath(), 4102 } 4103 } 4104 4105 func (s PolicySpec_SupportingAlertQueryPathSelectorTsQueryAggregationAlignmentPeriod) WithValue(value *durationpb.Duration) *PolicySpecSupportingAlertQuery_FieldSubPathValue { 4106 return s.FieldPath().WithIValue(value).(*PolicySpecSupportingAlertQuery_FieldSubPathValue) 4107 } 4108 4109 func (s PolicySpec_SupportingAlertQueryPathSelectorTsQueryAggregationAlignmentPeriod) WithArrayOfValues(values []*durationpb.Duration) *PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues { 4110 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues) 4111 } 4112 4113 type PolicySpec_SupportingAlertQueryPathSelectorTsQueryAggregationPerSeriesAligner struct{} 4114 4115 func (PolicySpec_SupportingAlertQueryPathSelectorTsQueryAggregationPerSeriesAligner) FieldPath() *PolicySpecSupportingAlertQuery_FieldSubPath { 4116 return &PolicySpecSupportingAlertQuery_FieldSubPath{ 4117 selector: PolicySpecSupportingAlertQuery_FieldPathSelectorTsQuery, 4118 subPath: NewPolicySpecSupportingAlertQueryTsQueryFieldPathBuilder().Aggregation().PerSeriesAligner().FieldPath(), 4119 } 4120 } 4121 4122 func (s PolicySpec_SupportingAlertQueryPathSelectorTsQueryAggregationPerSeriesAligner) WithValue(value monitoring_common.Aggregation_Aligner) *PolicySpecSupportingAlertQuery_FieldSubPathValue { 4123 return s.FieldPath().WithIValue(value).(*PolicySpecSupportingAlertQuery_FieldSubPathValue) 4124 } 4125 4126 func (s PolicySpec_SupportingAlertQueryPathSelectorTsQueryAggregationPerSeriesAligner) WithArrayOfValues(values []monitoring_common.Aggregation_Aligner) *PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues { 4127 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues) 4128 } 4129 4130 type PolicySpec_SupportingAlertQueryPathSelectorTsQueryAggregationCrossSeriesReducer struct{} 4131 4132 func (PolicySpec_SupportingAlertQueryPathSelectorTsQueryAggregationCrossSeriesReducer) FieldPath() *PolicySpecSupportingAlertQuery_FieldSubPath { 4133 return &PolicySpecSupportingAlertQuery_FieldSubPath{ 4134 selector: PolicySpecSupportingAlertQuery_FieldPathSelectorTsQuery, 4135 subPath: NewPolicySpecSupportingAlertQueryTsQueryFieldPathBuilder().Aggregation().CrossSeriesReducer().FieldPath(), 4136 } 4137 } 4138 4139 func (s PolicySpec_SupportingAlertQueryPathSelectorTsQueryAggregationCrossSeriesReducer) WithValue(value monitoring_common.Aggregation_Reducer) *PolicySpecSupportingAlertQuery_FieldSubPathValue { 4140 return s.FieldPath().WithIValue(value).(*PolicySpecSupportingAlertQuery_FieldSubPathValue) 4141 } 4142 4143 func (s PolicySpec_SupportingAlertQueryPathSelectorTsQueryAggregationCrossSeriesReducer) WithArrayOfValues(values []monitoring_common.Aggregation_Reducer) *PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues { 4144 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues) 4145 } 4146 4147 type PolicySpec_SupportingAlertQueryPathSelectorTsQueryAggregationGroupByFields struct{} 4148 4149 func (PolicySpec_SupportingAlertQueryPathSelectorTsQueryAggregationGroupByFields) FieldPath() *PolicySpecSupportingAlertQuery_FieldSubPath { 4150 return &PolicySpecSupportingAlertQuery_FieldSubPath{ 4151 selector: PolicySpecSupportingAlertQuery_FieldPathSelectorTsQuery, 4152 subPath: NewPolicySpecSupportingAlertQueryTsQueryFieldPathBuilder().Aggregation().GroupByFields().FieldPath(), 4153 } 4154 } 4155 4156 func (s PolicySpec_SupportingAlertQueryPathSelectorTsQueryAggregationGroupByFields) WithValue(value []string) *PolicySpecSupportingAlertQuery_FieldSubPathValue { 4157 return s.FieldPath().WithIValue(value).(*PolicySpecSupportingAlertQuery_FieldSubPathValue) 4158 } 4159 4160 func (s PolicySpec_SupportingAlertQueryPathSelectorTsQueryAggregationGroupByFields) WithArrayOfValues(values [][]string) *PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues { 4161 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues) 4162 } 4163 4164 func (s PolicySpec_SupportingAlertQueryPathSelectorTsQueryAggregationGroupByFields) WithItemValue(value string) *PolicySpecSupportingAlertQuery_FieldSubPathArrayItemValue { 4165 return s.FieldPath().WithIArrayItemValue(value).(*PolicySpecSupportingAlertQuery_FieldSubPathArrayItemValue) 4166 } 4167 4168 type PolicySpec_SupportingAlertQueryPathSelectorLogQuery struct{} 4169 4170 func (PolicySpec_SupportingAlertQueryPathSelectorLogQuery) FieldPath() *PolicySpecSupportingAlertQuery_FieldTerminalPath { 4171 return &PolicySpecSupportingAlertQuery_FieldTerminalPath{selector: PolicySpecSupportingAlertQuery_FieldPathSelectorLogQuery} 4172 } 4173 4174 func (s PolicySpec_SupportingAlertQueryPathSelectorLogQuery) WithValue(value *PolicySpec_SupportingAlertQuery_LogQuery) *PolicySpecSupportingAlertQuery_FieldTerminalPathValue { 4175 return s.FieldPath().WithIValue(value).(*PolicySpecSupportingAlertQuery_FieldTerminalPathValue) 4176 } 4177 4178 func (s PolicySpec_SupportingAlertQueryPathSelectorLogQuery) WithArrayOfValues(values []*PolicySpec_SupportingAlertQuery_LogQuery) *PolicySpecSupportingAlertQuery_FieldTerminalPathArrayOfValues { 4179 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecSupportingAlertQuery_FieldTerminalPathArrayOfValues) 4180 } 4181 4182 func (PolicySpec_SupportingAlertQueryPathSelectorLogQuery) WithSubPath(subPath PolicySpecSupportingAlertQueryLogQuery_FieldPath) *PolicySpecSupportingAlertQuery_FieldSubPath { 4183 return &PolicySpecSupportingAlertQuery_FieldSubPath{selector: PolicySpecSupportingAlertQuery_FieldPathSelectorLogQuery, subPath: subPath} 4184 } 4185 4186 func (s PolicySpec_SupportingAlertQueryPathSelectorLogQuery) WithSubValue(subPathValue PolicySpecSupportingAlertQueryLogQuery_FieldPathValue) *PolicySpecSupportingAlertQuery_FieldSubPathValue { 4187 return &PolicySpecSupportingAlertQuery_FieldSubPathValue{PolicySpecSupportingAlertQuery_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 4188 } 4189 4190 func (s PolicySpec_SupportingAlertQueryPathSelectorLogQuery) WithSubArrayOfValues(subPathArrayOfValues PolicySpecSupportingAlertQueryLogQuery_FieldPathArrayOfValues) *PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues { 4191 return &PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues{PolicySpecSupportingAlertQuery_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 4192 } 4193 4194 func (s PolicySpec_SupportingAlertQueryPathSelectorLogQuery) WithSubArrayItemValue(subPathArrayItemValue PolicySpecSupportingAlertQueryLogQuery_FieldPathArrayItemValue) *PolicySpecSupportingAlertQuery_FieldSubPathArrayItemValue { 4195 return &PolicySpecSupportingAlertQuery_FieldSubPathArrayItemValue{PolicySpecSupportingAlertQuery_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 4196 } 4197 4198 func (PolicySpec_SupportingAlertQueryPathSelectorLogQuery) Description() PolicySpec_SupportingAlertQueryPathSelectorLogQueryDescription { 4199 return PolicySpec_SupportingAlertQueryPathSelectorLogQueryDescription{} 4200 } 4201 4202 func (PolicySpec_SupportingAlertQueryPathSelectorLogQuery) FilterTemplate() PolicySpec_SupportingAlertQueryPathSelectorLogQueryFilterTemplate { 4203 return PolicySpec_SupportingAlertQueryPathSelectorLogQueryFilterTemplate{} 4204 } 4205 4206 type PolicySpec_SupportingAlertQueryPathSelectorLogQueryDescription struct{} 4207 4208 func (PolicySpec_SupportingAlertQueryPathSelectorLogQueryDescription) FieldPath() *PolicySpecSupportingAlertQuery_FieldSubPath { 4209 return &PolicySpecSupportingAlertQuery_FieldSubPath{ 4210 selector: PolicySpecSupportingAlertQuery_FieldPathSelectorLogQuery, 4211 subPath: NewPolicySpecSupportingAlertQueryLogQueryFieldPathBuilder().Description().FieldPath(), 4212 } 4213 } 4214 4215 func (s PolicySpec_SupportingAlertQueryPathSelectorLogQueryDescription) WithValue(value string) *PolicySpecSupportingAlertQuery_FieldSubPathValue { 4216 return s.FieldPath().WithIValue(value).(*PolicySpecSupportingAlertQuery_FieldSubPathValue) 4217 } 4218 4219 func (s PolicySpec_SupportingAlertQueryPathSelectorLogQueryDescription) WithArrayOfValues(values []string) *PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues { 4220 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues) 4221 } 4222 4223 type PolicySpec_SupportingAlertQueryPathSelectorLogQueryFilterTemplate struct{} 4224 4225 func (PolicySpec_SupportingAlertQueryPathSelectorLogQueryFilterTemplate) FieldPath() *PolicySpecSupportingAlertQuery_FieldSubPath { 4226 return &PolicySpecSupportingAlertQuery_FieldSubPath{ 4227 selector: PolicySpecSupportingAlertQuery_FieldPathSelectorLogQuery, 4228 subPath: NewPolicySpecSupportingAlertQueryLogQueryFieldPathBuilder().FilterTemplate().FieldPath(), 4229 } 4230 } 4231 4232 func (s PolicySpec_SupportingAlertQueryPathSelectorLogQueryFilterTemplate) WithValue(value string) *PolicySpecSupportingAlertQuery_FieldSubPathValue { 4233 return s.FieldPath().WithIValue(value).(*PolicySpecSupportingAlertQuery_FieldSubPathValue) 4234 } 4235 4236 func (s PolicySpec_SupportingAlertQueryPathSelectorLogQueryFilterTemplate) WithArrayOfValues(values []string) *PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues { 4237 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues) 4238 } 4239 4240 type PolicySpec_SupportingAlertQueryPathSelectorRestGetQuery struct{} 4241 4242 func (PolicySpec_SupportingAlertQueryPathSelectorRestGetQuery) FieldPath() *PolicySpecSupportingAlertQuery_FieldTerminalPath { 4243 return &PolicySpecSupportingAlertQuery_FieldTerminalPath{selector: PolicySpecSupportingAlertQuery_FieldPathSelectorRestGetQuery} 4244 } 4245 4246 func (s PolicySpec_SupportingAlertQueryPathSelectorRestGetQuery) WithValue(value *PolicySpec_SupportingAlertQuery_RestGetQuery) *PolicySpecSupportingAlertQuery_FieldTerminalPathValue { 4247 return s.FieldPath().WithIValue(value).(*PolicySpecSupportingAlertQuery_FieldTerminalPathValue) 4248 } 4249 4250 func (s PolicySpec_SupportingAlertQueryPathSelectorRestGetQuery) WithArrayOfValues(values []*PolicySpec_SupportingAlertQuery_RestGetQuery) *PolicySpecSupportingAlertQuery_FieldTerminalPathArrayOfValues { 4251 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecSupportingAlertQuery_FieldTerminalPathArrayOfValues) 4252 } 4253 4254 func (PolicySpec_SupportingAlertQueryPathSelectorRestGetQuery) WithSubPath(subPath PolicySpecSupportingAlertQueryRestGetQuery_FieldPath) *PolicySpecSupportingAlertQuery_FieldSubPath { 4255 return &PolicySpecSupportingAlertQuery_FieldSubPath{selector: PolicySpecSupportingAlertQuery_FieldPathSelectorRestGetQuery, subPath: subPath} 4256 } 4257 4258 func (s PolicySpec_SupportingAlertQueryPathSelectorRestGetQuery) WithSubValue(subPathValue PolicySpecSupportingAlertQueryRestGetQuery_FieldPathValue) *PolicySpecSupportingAlertQuery_FieldSubPathValue { 4259 return &PolicySpecSupportingAlertQuery_FieldSubPathValue{PolicySpecSupportingAlertQuery_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 4260 } 4261 4262 func (s PolicySpec_SupportingAlertQueryPathSelectorRestGetQuery) WithSubArrayOfValues(subPathArrayOfValues PolicySpecSupportingAlertQueryRestGetQuery_FieldPathArrayOfValues) *PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues { 4263 return &PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues{PolicySpecSupportingAlertQuery_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 4264 } 4265 4266 func (s PolicySpec_SupportingAlertQueryPathSelectorRestGetQuery) WithSubArrayItemValue(subPathArrayItemValue PolicySpecSupportingAlertQueryRestGetQuery_FieldPathArrayItemValue) *PolicySpecSupportingAlertQuery_FieldSubPathArrayItemValue { 4267 return &PolicySpecSupportingAlertQuery_FieldSubPathArrayItemValue{PolicySpecSupportingAlertQuery_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 4268 } 4269 4270 func (PolicySpec_SupportingAlertQueryPathSelectorRestGetQuery) Description() PolicySpec_SupportingAlertQueryPathSelectorRestGetQueryDescription { 4271 return PolicySpec_SupportingAlertQueryPathSelectorRestGetQueryDescription{} 4272 } 4273 4274 func (PolicySpec_SupportingAlertQueryPathSelectorRestGetQuery) Endpoint() PolicySpec_SupportingAlertQueryPathSelectorRestGetQueryEndpoint { 4275 return PolicySpec_SupportingAlertQueryPathSelectorRestGetQueryEndpoint{} 4276 } 4277 4278 func (PolicySpec_SupportingAlertQueryPathSelectorRestGetQuery) PathTemplate() PolicySpec_SupportingAlertQueryPathSelectorRestGetQueryPathTemplate { 4279 return PolicySpec_SupportingAlertQueryPathSelectorRestGetQueryPathTemplate{} 4280 } 4281 4282 func (PolicySpec_SupportingAlertQueryPathSelectorRestGetQuery) View() PolicySpec_SupportingAlertQueryPathSelectorRestGetQueryView { 4283 return PolicySpec_SupportingAlertQueryPathSelectorRestGetQueryView{} 4284 } 4285 4286 func (PolicySpec_SupportingAlertQueryPathSelectorRestGetQuery) FieldMask() PolicySpec_SupportingAlertQueryPathSelectorRestGetQueryFieldMask { 4287 return PolicySpec_SupportingAlertQueryPathSelectorRestGetQueryFieldMask{} 4288 } 4289 4290 type PolicySpec_SupportingAlertQueryPathSelectorRestGetQueryDescription struct{} 4291 4292 func (PolicySpec_SupportingAlertQueryPathSelectorRestGetQueryDescription) FieldPath() *PolicySpecSupportingAlertQuery_FieldSubPath { 4293 return &PolicySpecSupportingAlertQuery_FieldSubPath{ 4294 selector: PolicySpecSupportingAlertQuery_FieldPathSelectorRestGetQuery, 4295 subPath: NewPolicySpecSupportingAlertQueryRestGetQueryFieldPathBuilder().Description().FieldPath(), 4296 } 4297 } 4298 4299 func (s PolicySpec_SupportingAlertQueryPathSelectorRestGetQueryDescription) WithValue(value string) *PolicySpecSupportingAlertQuery_FieldSubPathValue { 4300 return s.FieldPath().WithIValue(value).(*PolicySpecSupportingAlertQuery_FieldSubPathValue) 4301 } 4302 4303 func (s PolicySpec_SupportingAlertQueryPathSelectorRestGetQueryDescription) WithArrayOfValues(values []string) *PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues { 4304 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues) 4305 } 4306 4307 type PolicySpec_SupportingAlertQueryPathSelectorRestGetQueryEndpoint struct{} 4308 4309 func (PolicySpec_SupportingAlertQueryPathSelectorRestGetQueryEndpoint) FieldPath() *PolicySpecSupportingAlertQuery_FieldSubPath { 4310 return &PolicySpecSupportingAlertQuery_FieldSubPath{ 4311 selector: PolicySpecSupportingAlertQuery_FieldPathSelectorRestGetQuery, 4312 subPath: NewPolicySpecSupportingAlertQueryRestGetQueryFieldPathBuilder().Endpoint().FieldPath(), 4313 } 4314 } 4315 4316 func (s PolicySpec_SupportingAlertQueryPathSelectorRestGetQueryEndpoint) WithValue(value string) *PolicySpecSupportingAlertQuery_FieldSubPathValue { 4317 return s.FieldPath().WithIValue(value).(*PolicySpecSupportingAlertQuery_FieldSubPathValue) 4318 } 4319 4320 func (s PolicySpec_SupportingAlertQueryPathSelectorRestGetQueryEndpoint) WithArrayOfValues(values []string) *PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues { 4321 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues) 4322 } 4323 4324 type PolicySpec_SupportingAlertQueryPathSelectorRestGetQueryPathTemplate struct{} 4325 4326 func (PolicySpec_SupportingAlertQueryPathSelectorRestGetQueryPathTemplate) FieldPath() *PolicySpecSupportingAlertQuery_FieldSubPath { 4327 return &PolicySpecSupportingAlertQuery_FieldSubPath{ 4328 selector: PolicySpecSupportingAlertQuery_FieldPathSelectorRestGetQuery, 4329 subPath: NewPolicySpecSupportingAlertQueryRestGetQueryFieldPathBuilder().PathTemplate().FieldPath(), 4330 } 4331 } 4332 4333 func (s PolicySpec_SupportingAlertQueryPathSelectorRestGetQueryPathTemplate) WithValue(value string) *PolicySpecSupportingAlertQuery_FieldSubPathValue { 4334 return s.FieldPath().WithIValue(value).(*PolicySpecSupportingAlertQuery_FieldSubPathValue) 4335 } 4336 4337 func (s PolicySpec_SupportingAlertQueryPathSelectorRestGetQueryPathTemplate) WithArrayOfValues(values []string) *PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues { 4338 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues) 4339 } 4340 4341 type PolicySpec_SupportingAlertQueryPathSelectorRestGetQueryView struct{} 4342 4343 func (PolicySpec_SupportingAlertQueryPathSelectorRestGetQueryView) FieldPath() *PolicySpecSupportingAlertQuery_FieldSubPath { 4344 return &PolicySpecSupportingAlertQuery_FieldSubPath{ 4345 selector: PolicySpecSupportingAlertQuery_FieldPathSelectorRestGetQuery, 4346 subPath: NewPolicySpecSupportingAlertQueryRestGetQueryFieldPathBuilder().View().FieldPath(), 4347 } 4348 } 4349 4350 func (s PolicySpec_SupportingAlertQueryPathSelectorRestGetQueryView) WithValue(value string) *PolicySpecSupportingAlertQuery_FieldSubPathValue { 4351 return s.FieldPath().WithIValue(value).(*PolicySpecSupportingAlertQuery_FieldSubPathValue) 4352 } 4353 4354 func (s PolicySpec_SupportingAlertQueryPathSelectorRestGetQueryView) WithArrayOfValues(values []string) *PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues { 4355 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues) 4356 } 4357 4358 type PolicySpec_SupportingAlertQueryPathSelectorRestGetQueryFieldMask struct{} 4359 4360 func (PolicySpec_SupportingAlertQueryPathSelectorRestGetQueryFieldMask) FieldPath() *PolicySpecSupportingAlertQuery_FieldSubPath { 4361 return &PolicySpecSupportingAlertQuery_FieldSubPath{ 4362 selector: PolicySpecSupportingAlertQuery_FieldPathSelectorRestGetQuery, 4363 subPath: NewPolicySpecSupportingAlertQueryRestGetQueryFieldPathBuilder().FieldMask().FieldPath(), 4364 } 4365 } 4366 4367 func (s PolicySpec_SupportingAlertQueryPathSelectorRestGetQueryFieldMask) WithValue(value string) *PolicySpecSupportingAlertQuery_FieldSubPathValue { 4368 return s.FieldPath().WithIValue(value).(*PolicySpecSupportingAlertQuery_FieldSubPathValue) 4369 } 4370 4371 func (s PolicySpec_SupportingAlertQueryPathSelectorRestGetQueryFieldMask) WithArrayOfValues(values []string) *PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues { 4372 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues) 4373 } 4374 4375 type PolicySpec_SupportingAlertQueryPathSelectorRestListQuery struct{} 4376 4377 func (PolicySpec_SupportingAlertQueryPathSelectorRestListQuery) FieldPath() *PolicySpecSupportingAlertQuery_FieldTerminalPath { 4378 return &PolicySpecSupportingAlertQuery_FieldTerminalPath{selector: PolicySpecSupportingAlertQuery_FieldPathSelectorRestListQuery} 4379 } 4380 4381 func (s PolicySpec_SupportingAlertQueryPathSelectorRestListQuery) WithValue(value *PolicySpec_SupportingAlertQuery_RestListQuery) *PolicySpecSupportingAlertQuery_FieldTerminalPathValue { 4382 return s.FieldPath().WithIValue(value).(*PolicySpecSupportingAlertQuery_FieldTerminalPathValue) 4383 } 4384 4385 func (s PolicySpec_SupportingAlertQueryPathSelectorRestListQuery) WithArrayOfValues(values []*PolicySpec_SupportingAlertQuery_RestListQuery) *PolicySpecSupportingAlertQuery_FieldTerminalPathArrayOfValues { 4386 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecSupportingAlertQuery_FieldTerminalPathArrayOfValues) 4387 } 4388 4389 func (PolicySpec_SupportingAlertQueryPathSelectorRestListQuery) WithSubPath(subPath PolicySpecSupportingAlertQueryRestListQuery_FieldPath) *PolicySpecSupportingAlertQuery_FieldSubPath { 4390 return &PolicySpecSupportingAlertQuery_FieldSubPath{selector: PolicySpecSupportingAlertQuery_FieldPathSelectorRestListQuery, subPath: subPath} 4391 } 4392 4393 func (s PolicySpec_SupportingAlertQueryPathSelectorRestListQuery) WithSubValue(subPathValue PolicySpecSupportingAlertQueryRestListQuery_FieldPathValue) *PolicySpecSupportingAlertQuery_FieldSubPathValue { 4394 return &PolicySpecSupportingAlertQuery_FieldSubPathValue{PolicySpecSupportingAlertQuery_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 4395 } 4396 4397 func (s PolicySpec_SupportingAlertQueryPathSelectorRestListQuery) WithSubArrayOfValues(subPathArrayOfValues PolicySpecSupportingAlertQueryRestListQuery_FieldPathArrayOfValues) *PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues { 4398 return &PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues{PolicySpecSupportingAlertQuery_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 4399 } 4400 4401 func (s PolicySpec_SupportingAlertQueryPathSelectorRestListQuery) WithSubArrayItemValue(subPathArrayItemValue PolicySpecSupportingAlertQueryRestListQuery_FieldPathArrayItemValue) *PolicySpecSupportingAlertQuery_FieldSubPathArrayItemValue { 4402 return &PolicySpecSupportingAlertQuery_FieldSubPathArrayItemValue{PolicySpecSupportingAlertQuery_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 4403 } 4404 4405 func (PolicySpec_SupportingAlertQueryPathSelectorRestListQuery) Description() PolicySpec_SupportingAlertQueryPathSelectorRestListQueryDescription { 4406 return PolicySpec_SupportingAlertQueryPathSelectorRestListQueryDescription{} 4407 } 4408 4409 func (PolicySpec_SupportingAlertQueryPathSelectorRestListQuery) Endpoint() PolicySpec_SupportingAlertQueryPathSelectorRestListQueryEndpoint { 4410 return PolicySpec_SupportingAlertQueryPathSelectorRestListQueryEndpoint{} 4411 } 4412 4413 func (PolicySpec_SupportingAlertQueryPathSelectorRestListQuery) PathTemplate() PolicySpec_SupportingAlertQueryPathSelectorRestListQueryPathTemplate { 4414 return PolicySpec_SupportingAlertQueryPathSelectorRestListQueryPathTemplate{} 4415 } 4416 4417 func (PolicySpec_SupportingAlertQueryPathSelectorRestListQuery) View() PolicySpec_SupportingAlertQueryPathSelectorRestListQueryView { 4418 return PolicySpec_SupportingAlertQueryPathSelectorRestListQueryView{} 4419 } 4420 4421 func (PolicySpec_SupportingAlertQueryPathSelectorRestListQuery) FieldMask() PolicySpec_SupportingAlertQueryPathSelectorRestListQueryFieldMask { 4422 return PolicySpec_SupportingAlertQueryPathSelectorRestListQueryFieldMask{} 4423 } 4424 4425 func (PolicySpec_SupportingAlertQueryPathSelectorRestListQuery) FilterTemplate() PolicySpec_SupportingAlertQueryPathSelectorRestListQueryFilterTemplate { 4426 return PolicySpec_SupportingAlertQueryPathSelectorRestListQueryFilterTemplate{} 4427 } 4428 4429 type PolicySpec_SupportingAlertQueryPathSelectorRestListQueryDescription struct{} 4430 4431 func (PolicySpec_SupportingAlertQueryPathSelectorRestListQueryDescription) FieldPath() *PolicySpecSupportingAlertQuery_FieldSubPath { 4432 return &PolicySpecSupportingAlertQuery_FieldSubPath{ 4433 selector: PolicySpecSupportingAlertQuery_FieldPathSelectorRestListQuery, 4434 subPath: NewPolicySpecSupportingAlertQueryRestListQueryFieldPathBuilder().Description().FieldPath(), 4435 } 4436 } 4437 4438 func (s PolicySpec_SupportingAlertQueryPathSelectorRestListQueryDescription) WithValue(value string) *PolicySpecSupportingAlertQuery_FieldSubPathValue { 4439 return s.FieldPath().WithIValue(value).(*PolicySpecSupportingAlertQuery_FieldSubPathValue) 4440 } 4441 4442 func (s PolicySpec_SupportingAlertQueryPathSelectorRestListQueryDescription) WithArrayOfValues(values []string) *PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues { 4443 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues) 4444 } 4445 4446 type PolicySpec_SupportingAlertQueryPathSelectorRestListQueryEndpoint struct{} 4447 4448 func (PolicySpec_SupportingAlertQueryPathSelectorRestListQueryEndpoint) FieldPath() *PolicySpecSupportingAlertQuery_FieldSubPath { 4449 return &PolicySpecSupportingAlertQuery_FieldSubPath{ 4450 selector: PolicySpecSupportingAlertQuery_FieldPathSelectorRestListQuery, 4451 subPath: NewPolicySpecSupportingAlertQueryRestListQueryFieldPathBuilder().Endpoint().FieldPath(), 4452 } 4453 } 4454 4455 func (s PolicySpec_SupportingAlertQueryPathSelectorRestListQueryEndpoint) WithValue(value string) *PolicySpecSupportingAlertQuery_FieldSubPathValue { 4456 return s.FieldPath().WithIValue(value).(*PolicySpecSupportingAlertQuery_FieldSubPathValue) 4457 } 4458 4459 func (s PolicySpec_SupportingAlertQueryPathSelectorRestListQueryEndpoint) WithArrayOfValues(values []string) *PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues { 4460 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues) 4461 } 4462 4463 type PolicySpec_SupportingAlertQueryPathSelectorRestListQueryPathTemplate struct{} 4464 4465 func (PolicySpec_SupportingAlertQueryPathSelectorRestListQueryPathTemplate) FieldPath() *PolicySpecSupportingAlertQuery_FieldSubPath { 4466 return &PolicySpecSupportingAlertQuery_FieldSubPath{ 4467 selector: PolicySpecSupportingAlertQuery_FieldPathSelectorRestListQuery, 4468 subPath: NewPolicySpecSupportingAlertQueryRestListQueryFieldPathBuilder().PathTemplate().FieldPath(), 4469 } 4470 } 4471 4472 func (s PolicySpec_SupportingAlertQueryPathSelectorRestListQueryPathTemplate) WithValue(value string) *PolicySpecSupportingAlertQuery_FieldSubPathValue { 4473 return s.FieldPath().WithIValue(value).(*PolicySpecSupportingAlertQuery_FieldSubPathValue) 4474 } 4475 4476 func (s PolicySpec_SupportingAlertQueryPathSelectorRestListQueryPathTemplate) WithArrayOfValues(values []string) *PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues { 4477 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues) 4478 } 4479 4480 type PolicySpec_SupportingAlertQueryPathSelectorRestListQueryView struct{} 4481 4482 func (PolicySpec_SupportingAlertQueryPathSelectorRestListQueryView) FieldPath() *PolicySpecSupportingAlertQuery_FieldSubPath { 4483 return &PolicySpecSupportingAlertQuery_FieldSubPath{ 4484 selector: PolicySpecSupportingAlertQuery_FieldPathSelectorRestListQuery, 4485 subPath: NewPolicySpecSupportingAlertQueryRestListQueryFieldPathBuilder().View().FieldPath(), 4486 } 4487 } 4488 4489 func (s PolicySpec_SupportingAlertQueryPathSelectorRestListQueryView) WithValue(value string) *PolicySpecSupportingAlertQuery_FieldSubPathValue { 4490 return s.FieldPath().WithIValue(value).(*PolicySpecSupportingAlertQuery_FieldSubPathValue) 4491 } 4492 4493 func (s PolicySpec_SupportingAlertQueryPathSelectorRestListQueryView) WithArrayOfValues(values []string) *PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues { 4494 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues) 4495 } 4496 4497 type PolicySpec_SupportingAlertQueryPathSelectorRestListQueryFieldMask struct{} 4498 4499 func (PolicySpec_SupportingAlertQueryPathSelectorRestListQueryFieldMask) FieldPath() *PolicySpecSupportingAlertQuery_FieldSubPath { 4500 return &PolicySpecSupportingAlertQuery_FieldSubPath{ 4501 selector: PolicySpecSupportingAlertQuery_FieldPathSelectorRestListQuery, 4502 subPath: NewPolicySpecSupportingAlertQueryRestListQueryFieldPathBuilder().FieldMask().FieldPath(), 4503 } 4504 } 4505 4506 func (s PolicySpec_SupportingAlertQueryPathSelectorRestListQueryFieldMask) WithValue(value string) *PolicySpecSupportingAlertQuery_FieldSubPathValue { 4507 return s.FieldPath().WithIValue(value).(*PolicySpecSupportingAlertQuery_FieldSubPathValue) 4508 } 4509 4510 func (s PolicySpec_SupportingAlertQueryPathSelectorRestListQueryFieldMask) WithArrayOfValues(values []string) *PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues { 4511 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues) 4512 } 4513 4514 type PolicySpec_SupportingAlertQueryPathSelectorRestListQueryFilterTemplate struct{} 4515 4516 func (PolicySpec_SupportingAlertQueryPathSelectorRestListQueryFilterTemplate) FieldPath() *PolicySpecSupportingAlertQuery_FieldSubPath { 4517 return &PolicySpecSupportingAlertQuery_FieldSubPath{ 4518 selector: PolicySpecSupportingAlertQuery_FieldPathSelectorRestListQuery, 4519 subPath: NewPolicySpecSupportingAlertQueryRestListQueryFieldPathBuilder().FilterTemplate().FieldPath(), 4520 } 4521 } 4522 4523 func (s PolicySpec_SupportingAlertQueryPathSelectorRestListQueryFilterTemplate) WithValue(value string) *PolicySpecSupportingAlertQuery_FieldSubPathValue { 4524 return s.FieldPath().WithIValue(value).(*PolicySpecSupportingAlertQuery_FieldSubPathValue) 4525 } 4526 4527 func (s PolicySpec_SupportingAlertQueryPathSelectorRestListQueryFilterTemplate) WithArrayOfValues(values []string) *PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues { 4528 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecSupportingAlertQuery_FieldSubPathArrayOfValues) 4529 } 4530 4531 type PolicySpecAIAgentHandlingFieldPathBuilder struct{} 4532 4533 func NewPolicySpecAIAgentHandlingFieldPathBuilder() PolicySpecAIAgentHandlingFieldPathBuilder { 4534 return PolicySpecAIAgentHandlingFieldPathBuilder{} 4535 } 4536 func (PolicySpecAIAgentHandlingFieldPathBuilder) Enabled() PolicySpec_AIAgentHandlingPathSelectorEnabled { 4537 return PolicySpec_AIAgentHandlingPathSelectorEnabled{} 4538 } 4539 func (PolicySpecAIAgentHandlingFieldPathBuilder) EnabledConnectivity() PolicySpec_AIAgentHandlingPathSelectorEnabledConnectivity { 4540 return PolicySpec_AIAgentHandlingPathSelectorEnabledConnectivity{} 4541 } 4542 func (PolicySpecAIAgentHandlingFieldPathBuilder) AutoAcceptRemediation() PolicySpec_AIAgentHandlingPathSelectorAutoAcceptRemediation { 4543 return PolicySpec_AIAgentHandlingPathSelectorAutoAcceptRemediation{} 4544 } 4545 func (PolicySpecAIAgentHandlingFieldPathBuilder) EdgeConnectivity() PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivity { 4546 return PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivity{} 4547 } 4548 func (PolicySpecAIAgentHandlingFieldPathBuilder) RemediationOptions() PolicySpec_AIAgentHandlingPathSelectorRemediationOptions { 4549 return PolicySpec_AIAgentHandlingPathSelectorRemediationOptions{} 4550 } 4551 4552 type PolicySpec_AIAgentHandlingPathSelectorEnabled struct{} 4553 4554 func (PolicySpec_AIAgentHandlingPathSelectorEnabled) FieldPath() *PolicySpecAIAgentHandling_FieldTerminalPath { 4555 return &PolicySpecAIAgentHandling_FieldTerminalPath{selector: PolicySpecAIAgentHandling_FieldPathSelectorEnabled} 4556 } 4557 4558 func (s PolicySpec_AIAgentHandlingPathSelectorEnabled) WithValue(value bool) *PolicySpecAIAgentHandling_FieldTerminalPathValue { 4559 return s.FieldPath().WithIValue(value).(*PolicySpecAIAgentHandling_FieldTerminalPathValue) 4560 } 4561 4562 func (s PolicySpec_AIAgentHandlingPathSelectorEnabled) WithArrayOfValues(values []bool) *PolicySpecAIAgentHandling_FieldTerminalPathArrayOfValues { 4563 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecAIAgentHandling_FieldTerminalPathArrayOfValues) 4564 } 4565 4566 type PolicySpec_AIAgentHandlingPathSelectorEnabledConnectivity struct{} 4567 4568 func (PolicySpec_AIAgentHandlingPathSelectorEnabledConnectivity) FieldPath() *PolicySpecAIAgentHandling_FieldTerminalPath { 4569 return &PolicySpecAIAgentHandling_FieldTerminalPath{selector: PolicySpecAIAgentHandling_FieldPathSelectorEnabledConnectivity} 4570 } 4571 4572 func (s PolicySpec_AIAgentHandlingPathSelectorEnabledConnectivity) WithValue(value bool) *PolicySpecAIAgentHandling_FieldTerminalPathValue { 4573 return s.FieldPath().WithIValue(value).(*PolicySpecAIAgentHandling_FieldTerminalPathValue) 4574 } 4575 4576 func (s PolicySpec_AIAgentHandlingPathSelectorEnabledConnectivity) WithArrayOfValues(values []bool) *PolicySpecAIAgentHandling_FieldTerminalPathArrayOfValues { 4577 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecAIAgentHandling_FieldTerminalPathArrayOfValues) 4578 } 4579 4580 type PolicySpec_AIAgentHandlingPathSelectorAutoAcceptRemediation struct{} 4581 4582 func (PolicySpec_AIAgentHandlingPathSelectorAutoAcceptRemediation) FieldPath() *PolicySpecAIAgentHandling_FieldTerminalPath { 4583 return &PolicySpecAIAgentHandling_FieldTerminalPath{selector: PolicySpecAIAgentHandling_FieldPathSelectorAutoAcceptRemediation} 4584 } 4585 4586 func (s PolicySpec_AIAgentHandlingPathSelectorAutoAcceptRemediation) WithValue(value bool) *PolicySpecAIAgentHandling_FieldTerminalPathValue { 4587 return s.FieldPath().WithIValue(value).(*PolicySpecAIAgentHandling_FieldTerminalPathValue) 4588 } 4589 4590 func (s PolicySpec_AIAgentHandlingPathSelectorAutoAcceptRemediation) WithArrayOfValues(values []bool) *PolicySpecAIAgentHandling_FieldTerminalPathArrayOfValues { 4591 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecAIAgentHandling_FieldTerminalPathArrayOfValues) 4592 } 4593 4594 type PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivity struct{} 4595 4596 func (PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivity) FieldPath() *PolicySpecAIAgentHandling_FieldTerminalPath { 4597 return &PolicySpecAIAgentHandling_FieldTerminalPath{selector: PolicySpecAIAgentHandling_FieldPathSelectorEdgeConnectivity} 4598 } 4599 4600 func (s PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivity) WithValue(value *PolicySpec_AIAgentHandling_EdgeConnectivity) *PolicySpecAIAgentHandling_FieldTerminalPathValue { 4601 return s.FieldPath().WithIValue(value).(*PolicySpecAIAgentHandling_FieldTerminalPathValue) 4602 } 4603 4604 func (s PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivity) WithArrayOfValues(values []*PolicySpec_AIAgentHandling_EdgeConnectivity) *PolicySpecAIAgentHandling_FieldTerminalPathArrayOfValues { 4605 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecAIAgentHandling_FieldTerminalPathArrayOfValues) 4606 } 4607 4608 func (PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivity) WithSubPath(subPath PolicySpecAIAgentHandlingEdgeConnectivity_FieldPath) *PolicySpecAIAgentHandling_FieldSubPath { 4609 return &PolicySpecAIAgentHandling_FieldSubPath{selector: PolicySpecAIAgentHandling_FieldPathSelectorEdgeConnectivity, subPath: subPath} 4610 } 4611 4612 func (s PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivity) WithSubValue(subPathValue PolicySpecAIAgentHandlingEdgeConnectivity_FieldPathValue) *PolicySpecAIAgentHandling_FieldSubPathValue { 4613 return &PolicySpecAIAgentHandling_FieldSubPathValue{PolicySpecAIAgentHandling_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 4614 } 4615 4616 func (s PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivity) WithSubArrayOfValues(subPathArrayOfValues PolicySpecAIAgentHandlingEdgeConnectivity_FieldPathArrayOfValues) *PolicySpecAIAgentHandling_FieldSubPathArrayOfValues { 4617 return &PolicySpecAIAgentHandling_FieldSubPathArrayOfValues{PolicySpecAIAgentHandling_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 4618 } 4619 4620 func (s PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivity) WithSubArrayItemValue(subPathArrayItemValue PolicySpecAIAgentHandlingEdgeConnectivity_FieldPathArrayItemValue) *PolicySpecAIAgentHandling_FieldSubPathArrayItemValue { 4621 return &PolicySpecAIAgentHandling_FieldSubPathArrayItemValue{PolicySpecAIAgentHandling_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 4622 } 4623 4624 func (PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivity) DeviceSsh() PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityDeviceSsh { 4625 return PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityDeviceSsh{} 4626 } 4627 4628 func (PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivity) ProxiesSsh() PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityProxiesSsh { 4629 return PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityProxiesSsh{} 4630 } 4631 4632 func (PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivity) PodSsh() PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityPodSsh { 4633 return PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityPodSsh{} 4634 } 4635 4636 func (PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivity) AllowedBins() PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityAllowedBins { 4637 return PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityAllowedBins{} 4638 } 4639 4640 type PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityDeviceSsh struct{} 4641 4642 func (PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityDeviceSsh) FieldPath() *PolicySpecAIAgentHandling_FieldSubPath { 4643 return &PolicySpecAIAgentHandling_FieldSubPath{ 4644 selector: PolicySpecAIAgentHandling_FieldPathSelectorEdgeConnectivity, 4645 subPath: NewPolicySpecAIAgentHandlingEdgeConnectivityFieldPathBuilder().DeviceSsh().FieldPath(), 4646 } 4647 } 4648 4649 func (s PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityDeviceSsh) WithValue(value *PolicySpec_AIAgentHandling_EdgeConnectivity_DeviceSSH) *PolicySpecAIAgentHandling_FieldSubPathValue { 4650 return s.FieldPath().WithIValue(value).(*PolicySpecAIAgentHandling_FieldSubPathValue) 4651 } 4652 4653 func (s PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityDeviceSsh) WithArrayOfValues(values []*PolicySpec_AIAgentHandling_EdgeConnectivity_DeviceSSH) *PolicySpecAIAgentHandling_FieldSubPathArrayOfValues { 4654 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecAIAgentHandling_FieldSubPathArrayOfValues) 4655 } 4656 4657 func (PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityDeviceSsh) ClientName() PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityDeviceSshClientName { 4658 return PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityDeviceSshClientName{} 4659 } 4660 4661 type PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityDeviceSshClientName struct{} 4662 4663 func (PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityDeviceSshClientName) FieldPath() *PolicySpecAIAgentHandling_FieldSubPath { 4664 return &PolicySpecAIAgentHandling_FieldSubPath{ 4665 selector: PolicySpecAIAgentHandling_FieldPathSelectorEdgeConnectivity, 4666 subPath: NewPolicySpecAIAgentHandlingEdgeConnectivityFieldPathBuilder().DeviceSsh().ClientName().FieldPath(), 4667 } 4668 } 4669 4670 func (s PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityDeviceSshClientName) WithValue(value string) *PolicySpecAIAgentHandling_FieldSubPathValue { 4671 return s.FieldPath().WithIValue(value).(*PolicySpecAIAgentHandling_FieldSubPathValue) 4672 } 4673 4674 func (s PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityDeviceSshClientName) WithArrayOfValues(values []string) *PolicySpecAIAgentHandling_FieldSubPathArrayOfValues { 4675 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecAIAgentHandling_FieldSubPathArrayOfValues) 4676 } 4677 4678 type PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityProxiesSsh struct{} 4679 4680 func (PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityProxiesSsh) FieldPath() *PolicySpecAIAgentHandling_FieldSubPath { 4681 return &PolicySpecAIAgentHandling_FieldSubPath{ 4682 selector: PolicySpecAIAgentHandling_FieldPathSelectorEdgeConnectivity, 4683 subPath: NewPolicySpecAIAgentHandlingEdgeConnectivityFieldPathBuilder().ProxiesSsh().FieldPath(), 4684 } 4685 } 4686 4687 func (s PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityProxiesSsh) WithValue(value *PolicySpec_AIAgentHandling_EdgeConnectivity_ProxiesSSH) *PolicySpecAIAgentHandling_FieldSubPathValue { 4688 return s.FieldPath().WithIValue(value).(*PolicySpecAIAgentHandling_FieldSubPathValue) 4689 } 4690 4691 func (s PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityProxiesSsh) WithArrayOfValues(values []*PolicySpec_AIAgentHandling_EdgeConnectivity_ProxiesSSH) *PolicySpecAIAgentHandling_FieldSubPathArrayOfValues { 4692 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecAIAgentHandling_FieldSubPathArrayOfValues) 4693 } 4694 4695 func (PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityProxiesSsh) ServiceDomain() PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityProxiesSshServiceDomain { 4696 return PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityProxiesSshServiceDomain{} 4697 } 4698 4699 func (PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityProxiesSsh) ProviderNameTmpl() PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityProxiesSshProviderNameTmpl { 4700 return PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityProxiesSshProviderNameTmpl{} 4701 } 4702 4703 func (PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityProxiesSsh) ClientName() PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityProxiesSshClientName { 4704 return PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityProxiesSshClientName{} 4705 } 4706 4707 func (PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityProxiesSsh) ServiceName() PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityProxiesSshServiceName { 4708 return PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityProxiesSshServiceName{} 4709 } 4710 4711 type PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityProxiesSshServiceDomain struct{} 4712 4713 func (PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityProxiesSshServiceDomain) FieldPath() *PolicySpecAIAgentHandling_FieldSubPath { 4714 return &PolicySpecAIAgentHandling_FieldSubPath{ 4715 selector: PolicySpecAIAgentHandling_FieldPathSelectorEdgeConnectivity, 4716 subPath: NewPolicySpecAIAgentHandlingEdgeConnectivityFieldPathBuilder().ProxiesSsh().ServiceDomain().FieldPath(), 4717 } 4718 } 4719 4720 func (s PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityProxiesSshServiceDomain) WithValue(value string) *PolicySpecAIAgentHandling_FieldSubPathValue { 4721 return s.FieldPath().WithIValue(value).(*PolicySpecAIAgentHandling_FieldSubPathValue) 4722 } 4723 4724 func (s PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityProxiesSshServiceDomain) WithArrayOfValues(values []string) *PolicySpecAIAgentHandling_FieldSubPathArrayOfValues { 4725 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecAIAgentHandling_FieldSubPathArrayOfValues) 4726 } 4727 4728 type PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityProxiesSshProviderNameTmpl struct{} 4729 4730 func (PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityProxiesSshProviderNameTmpl) FieldPath() *PolicySpecAIAgentHandling_FieldSubPath { 4731 return &PolicySpecAIAgentHandling_FieldSubPath{ 4732 selector: PolicySpecAIAgentHandling_FieldPathSelectorEdgeConnectivity, 4733 subPath: NewPolicySpecAIAgentHandlingEdgeConnectivityFieldPathBuilder().ProxiesSsh().ProviderNameTmpl().FieldPath(), 4734 } 4735 } 4736 4737 func (s PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityProxiesSshProviderNameTmpl) WithValue(value string) *PolicySpecAIAgentHandling_FieldSubPathValue { 4738 return s.FieldPath().WithIValue(value).(*PolicySpecAIAgentHandling_FieldSubPathValue) 4739 } 4740 4741 func (s PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityProxiesSshProviderNameTmpl) WithArrayOfValues(values []string) *PolicySpecAIAgentHandling_FieldSubPathArrayOfValues { 4742 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecAIAgentHandling_FieldSubPathArrayOfValues) 4743 } 4744 4745 type PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityProxiesSshClientName struct{} 4746 4747 func (PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityProxiesSshClientName) FieldPath() *PolicySpecAIAgentHandling_FieldSubPath { 4748 return &PolicySpecAIAgentHandling_FieldSubPath{ 4749 selector: PolicySpecAIAgentHandling_FieldPathSelectorEdgeConnectivity, 4750 subPath: NewPolicySpecAIAgentHandlingEdgeConnectivityFieldPathBuilder().ProxiesSsh().ClientName().FieldPath(), 4751 } 4752 } 4753 4754 func (s PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityProxiesSshClientName) WithValue(value string) *PolicySpecAIAgentHandling_FieldSubPathValue { 4755 return s.FieldPath().WithIValue(value).(*PolicySpecAIAgentHandling_FieldSubPathValue) 4756 } 4757 4758 func (s PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityProxiesSshClientName) WithArrayOfValues(values []string) *PolicySpecAIAgentHandling_FieldSubPathArrayOfValues { 4759 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecAIAgentHandling_FieldSubPathArrayOfValues) 4760 } 4761 4762 type PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityProxiesSshServiceName struct{} 4763 4764 func (PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityProxiesSshServiceName) FieldPath() *PolicySpecAIAgentHandling_FieldSubPath { 4765 return &PolicySpecAIAgentHandling_FieldSubPath{ 4766 selector: PolicySpecAIAgentHandling_FieldPathSelectorEdgeConnectivity, 4767 subPath: NewPolicySpecAIAgentHandlingEdgeConnectivityFieldPathBuilder().ProxiesSsh().ServiceName().FieldPath(), 4768 } 4769 } 4770 4771 func (s PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityProxiesSshServiceName) WithValue(value string) *PolicySpecAIAgentHandling_FieldSubPathValue { 4772 return s.FieldPath().WithIValue(value).(*PolicySpecAIAgentHandling_FieldSubPathValue) 4773 } 4774 4775 func (s PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityProxiesSshServiceName) WithArrayOfValues(values []string) *PolicySpecAIAgentHandling_FieldSubPathArrayOfValues { 4776 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecAIAgentHandling_FieldSubPathArrayOfValues) 4777 } 4778 4779 type PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityPodSsh struct{} 4780 4781 func (PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityPodSsh) FieldPath() *PolicySpecAIAgentHandling_FieldSubPath { 4782 return &PolicySpecAIAgentHandling_FieldSubPath{ 4783 selector: PolicySpecAIAgentHandling_FieldPathSelectorEdgeConnectivity, 4784 subPath: NewPolicySpecAIAgentHandlingEdgeConnectivityFieldPathBuilder().PodSsh().FieldPath(), 4785 } 4786 } 4787 4788 func (s PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityPodSsh) WithValue(value *PolicySpec_AIAgentHandling_EdgeConnectivity_PodSSH) *PolicySpecAIAgentHandling_FieldSubPathValue { 4789 return s.FieldPath().WithIValue(value).(*PolicySpecAIAgentHandling_FieldSubPathValue) 4790 } 4791 4792 func (s PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityPodSsh) WithArrayOfValues(values []*PolicySpec_AIAgentHandling_EdgeConnectivity_PodSSH) *PolicySpecAIAgentHandling_FieldSubPathArrayOfValues { 4793 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecAIAgentHandling_FieldSubPathArrayOfValues) 4794 } 4795 4796 func (PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityPodSsh) ClientName() PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityPodSshClientName { 4797 return PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityPodSshClientName{} 4798 } 4799 4800 func (PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityPodSsh) Username() PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityPodSshUsername { 4801 return PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityPodSshUsername{} 4802 } 4803 4804 type PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityPodSshClientName struct{} 4805 4806 func (PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityPodSshClientName) FieldPath() *PolicySpecAIAgentHandling_FieldSubPath { 4807 return &PolicySpecAIAgentHandling_FieldSubPath{ 4808 selector: PolicySpecAIAgentHandling_FieldPathSelectorEdgeConnectivity, 4809 subPath: NewPolicySpecAIAgentHandlingEdgeConnectivityFieldPathBuilder().PodSsh().ClientName().FieldPath(), 4810 } 4811 } 4812 4813 func (s PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityPodSshClientName) WithValue(value string) *PolicySpecAIAgentHandling_FieldSubPathValue { 4814 return s.FieldPath().WithIValue(value).(*PolicySpecAIAgentHandling_FieldSubPathValue) 4815 } 4816 4817 func (s PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityPodSshClientName) WithArrayOfValues(values []string) *PolicySpecAIAgentHandling_FieldSubPathArrayOfValues { 4818 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecAIAgentHandling_FieldSubPathArrayOfValues) 4819 } 4820 4821 type PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityPodSshUsername struct{} 4822 4823 func (PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityPodSshUsername) FieldPath() *PolicySpecAIAgentHandling_FieldSubPath { 4824 return &PolicySpecAIAgentHandling_FieldSubPath{ 4825 selector: PolicySpecAIAgentHandling_FieldPathSelectorEdgeConnectivity, 4826 subPath: NewPolicySpecAIAgentHandlingEdgeConnectivityFieldPathBuilder().PodSsh().Username().FieldPath(), 4827 } 4828 } 4829 4830 func (s PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityPodSshUsername) WithValue(value string) *PolicySpecAIAgentHandling_FieldSubPathValue { 4831 return s.FieldPath().WithIValue(value).(*PolicySpecAIAgentHandling_FieldSubPathValue) 4832 } 4833 4834 func (s PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityPodSshUsername) WithArrayOfValues(values []string) *PolicySpecAIAgentHandling_FieldSubPathArrayOfValues { 4835 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecAIAgentHandling_FieldSubPathArrayOfValues) 4836 } 4837 4838 type PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityAllowedBins struct{} 4839 4840 func (PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityAllowedBins) FieldPath() *PolicySpecAIAgentHandling_FieldSubPath { 4841 return &PolicySpecAIAgentHandling_FieldSubPath{ 4842 selector: PolicySpecAIAgentHandling_FieldPathSelectorEdgeConnectivity, 4843 subPath: NewPolicySpecAIAgentHandlingEdgeConnectivityFieldPathBuilder().AllowedBins().FieldPath(), 4844 } 4845 } 4846 4847 func (s PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityAllowedBins) WithValue(value []string) *PolicySpecAIAgentHandling_FieldSubPathValue { 4848 return s.FieldPath().WithIValue(value).(*PolicySpecAIAgentHandling_FieldSubPathValue) 4849 } 4850 4851 func (s PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityAllowedBins) WithArrayOfValues(values [][]string) *PolicySpecAIAgentHandling_FieldSubPathArrayOfValues { 4852 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecAIAgentHandling_FieldSubPathArrayOfValues) 4853 } 4854 4855 func (s PolicySpec_AIAgentHandlingPathSelectorEdgeConnectivityAllowedBins) WithItemValue(value string) *PolicySpecAIAgentHandling_FieldSubPathArrayItemValue { 4856 return s.FieldPath().WithIArrayItemValue(value).(*PolicySpecAIAgentHandling_FieldSubPathArrayItemValue) 4857 } 4858 4859 type PolicySpec_AIAgentHandlingPathSelectorRemediationOptions struct{} 4860 4861 func (PolicySpec_AIAgentHandlingPathSelectorRemediationOptions) FieldPath() *PolicySpecAIAgentHandling_FieldTerminalPath { 4862 return &PolicySpecAIAgentHandling_FieldTerminalPath{selector: PolicySpecAIAgentHandling_FieldPathSelectorRemediationOptions} 4863 } 4864 4865 func (s PolicySpec_AIAgentHandlingPathSelectorRemediationOptions) WithValue(value []*PolicySpec_AIAgentHandling_Remediation) *PolicySpecAIAgentHandling_FieldTerminalPathValue { 4866 return s.FieldPath().WithIValue(value).(*PolicySpecAIAgentHandling_FieldTerminalPathValue) 4867 } 4868 4869 func (s PolicySpec_AIAgentHandlingPathSelectorRemediationOptions) WithArrayOfValues(values [][]*PolicySpec_AIAgentHandling_Remediation) *PolicySpecAIAgentHandling_FieldTerminalPathArrayOfValues { 4870 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecAIAgentHandling_FieldTerminalPathArrayOfValues) 4871 } 4872 4873 func (s PolicySpec_AIAgentHandlingPathSelectorRemediationOptions) WithItemValue(value *PolicySpec_AIAgentHandling_Remediation) *PolicySpecAIAgentHandling_FieldTerminalPathArrayItemValue { 4874 return s.FieldPath().WithIArrayItemValue(value).(*PolicySpecAIAgentHandling_FieldTerminalPathArrayItemValue) 4875 } 4876 func (PolicySpec_AIAgentHandlingPathSelectorRemediationOptions) WithSubPath(subPath PolicySpecAIAgentHandlingRemediation_FieldPath) *PolicySpecAIAgentHandling_FieldSubPath { 4877 return &PolicySpecAIAgentHandling_FieldSubPath{selector: PolicySpecAIAgentHandling_FieldPathSelectorRemediationOptions, subPath: subPath} 4878 } 4879 4880 func (s PolicySpec_AIAgentHandlingPathSelectorRemediationOptions) WithSubValue(subPathValue PolicySpecAIAgentHandlingRemediation_FieldPathValue) *PolicySpecAIAgentHandling_FieldSubPathValue { 4881 return &PolicySpecAIAgentHandling_FieldSubPathValue{PolicySpecAIAgentHandling_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 4882 } 4883 4884 func (s PolicySpec_AIAgentHandlingPathSelectorRemediationOptions) WithSubArrayOfValues(subPathArrayOfValues PolicySpecAIAgentHandlingRemediation_FieldPathArrayOfValues) *PolicySpecAIAgentHandling_FieldSubPathArrayOfValues { 4885 return &PolicySpecAIAgentHandling_FieldSubPathArrayOfValues{PolicySpecAIAgentHandling_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 4886 } 4887 4888 func (s PolicySpec_AIAgentHandlingPathSelectorRemediationOptions) WithSubArrayItemValue(subPathArrayItemValue PolicySpecAIAgentHandlingRemediation_FieldPathArrayItemValue) *PolicySpecAIAgentHandling_FieldSubPathArrayItemValue { 4889 return &PolicySpecAIAgentHandling_FieldSubPathArrayItemValue{PolicySpecAIAgentHandling_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 4890 } 4891 4892 func (PolicySpec_AIAgentHandlingPathSelectorRemediationOptions) FixInSsh() PolicySpec_AIAgentHandlingPathSelectorRemediationOptionsFixInSsh { 4893 return PolicySpec_AIAgentHandlingPathSelectorRemediationOptionsFixInSsh{} 4894 } 4895 4896 func (PolicySpec_AIAgentHandlingPathSelectorRemediationOptions) Reboot() PolicySpec_AIAgentHandlingPathSelectorRemediationOptionsReboot { 4897 return PolicySpec_AIAgentHandlingPathSelectorRemediationOptionsReboot{} 4898 } 4899 4900 type PolicySpec_AIAgentHandlingPathSelectorRemediationOptionsFixInSsh struct{} 4901 4902 func (PolicySpec_AIAgentHandlingPathSelectorRemediationOptionsFixInSsh) FieldPath() *PolicySpecAIAgentHandling_FieldSubPath { 4903 return &PolicySpecAIAgentHandling_FieldSubPath{ 4904 selector: PolicySpecAIAgentHandling_FieldPathSelectorRemediationOptions, 4905 subPath: NewPolicySpecAIAgentHandlingRemediationFieldPathBuilder().FixInSsh().FieldPath(), 4906 } 4907 } 4908 4909 func (s PolicySpec_AIAgentHandlingPathSelectorRemediationOptionsFixInSsh) WithValue(value *PolicySpec_AIAgentHandling_Remediation_FixInSSH) *PolicySpecAIAgentHandling_FieldSubPathValue { 4910 return s.FieldPath().WithIValue(value).(*PolicySpecAIAgentHandling_FieldSubPathValue) 4911 } 4912 4913 func (s PolicySpec_AIAgentHandlingPathSelectorRemediationOptionsFixInSsh) WithArrayOfValues(values []*PolicySpec_AIAgentHandling_Remediation_FixInSSH) *PolicySpecAIAgentHandling_FieldSubPathArrayOfValues { 4914 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecAIAgentHandling_FieldSubPathArrayOfValues) 4915 } 4916 4917 type PolicySpec_AIAgentHandlingPathSelectorRemediationOptionsReboot struct{} 4918 4919 func (PolicySpec_AIAgentHandlingPathSelectorRemediationOptionsReboot) FieldPath() *PolicySpecAIAgentHandling_FieldSubPath { 4920 return &PolicySpecAIAgentHandling_FieldSubPath{ 4921 selector: PolicySpecAIAgentHandling_FieldPathSelectorRemediationOptions, 4922 subPath: NewPolicySpecAIAgentHandlingRemediationFieldPathBuilder().Reboot().FieldPath(), 4923 } 4924 } 4925 4926 func (s PolicySpec_AIAgentHandlingPathSelectorRemediationOptionsReboot) WithValue(value *PolicySpec_AIAgentHandling_Remediation_Reboot) *PolicySpecAIAgentHandling_FieldSubPathValue { 4927 return s.FieldPath().WithIValue(value).(*PolicySpecAIAgentHandling_FieldSubPathValue) 4928 } 4929 4930 func (s PolicySpec_AIAgentHandlingPathSelectorRemediationOptionsReboot) WithArrayOfValues(values []*PolicySpec_AIAgentHandling_Remediation_Reboot) *PolicySpecAIAgentHandling_FieldSubPathArrayOfValues { 4931 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecAIAgentHandling_FieldSubPathArrayOfValues) 4932 } 4933 4934 type PolicySpecResourceIdentityLabelInfoFieldPathBuilder struct{} 4935 4936 func NewPolicySpecResourceIdentityLabelInfoFieldPathBuilder() PolicySpecResourceIdentityLabelInfoFieldPathBuilder { 4937 return PolicySpecResourceIdentityLabelInfoFieldPathBuilder{} 4938 } 4939 func (PolicySpecResourceIdentityLabelInfoFieldPathBuilder) Key() PolicySpec_ResourceIdentity_LabelInfoPathSelectorKey { 4940 return PolicySpec_ResourceIdentity_LabelInfoPathSelectorKey{} 4941 } 4942 func (PolicySpecResourceIdentityLabelInfoFieldPathBuilder) Contexts() PolicySpec_ResourceIdentity_LabelInfoPathSelectorContexts { 4943 return PolicySpec_ResourceIdentity_LabelInfoPathSelectorContexts{} 4944 } 4945 func (PolicySpecResourceIdentityLabelInfoFieldPathBuilder) MappedNameSegment() PolicySpec_ResourceIdentity_LabelInfoPathSelectorMappedNameSegment { 4946 return PolicySpec_ResourceIdentity_LabelInfoPathSelectorMappedNameSegment{} 4947 } 4948 4949 type PolicySpec_ResourceIdentity_LabelInfoPathSelectorKey struct{} 4950 4951 func (PolicySpec_ResourceIdentity_LabelInfoPathSelectorKey) FieldPath() *PolicySpecResourceIdentityLabelInfo_FieldTerminalPath { 4952 return &PolicySpecResourceIdentityLabelInfo_FieldTerminalPath{selector: PolicySpecResourceIdentityLabelInfo_FieldPathSelectorKey} 4953 } 4954 4955 func (s PolicySpec_ResourceIdentity_LabelInfoPathSelectorKey) WithValue(value string) *PolicySpecResourceIdentityLabelInfo_FieldTerminalPathValue { 4956 return s.FieldPath().WithIValue(value).(*PolicySpecResourceIdentityLabelInfo_FieldTerminalPathValue) 4957 } 4958 4959 func (s PolicySpec_ResourceIdentity_LabelInfoPathSelectorKey) WithArrayOfValues(values []string) *PolicySpecResourceIdentityLabelInfo_FieldTerminalPathArrayOfValues { 4960 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecResourceIdentityLabelInfo_FieldTerminalPathArrayOfValues) 4961 } 4962 4963 type PolicySpec_ResourceIdentity_LabelInfoPathSelectorContexts struct{} 4964 4965 func (PolicySpec_ResourceIdentity_LabelInfoPathSelectorContexts) FieldPath() *PolicySpecResourceIdentityLabelInfo_FieldTerminalPath { 4966 return &PolicySpecResourceIdentityLabelInfo_FieldTerminalPath{selector: PolicySpecResourceIdentityLabelInfo_FieldPathSelectorContexts} 4967 } 4968 4969 func (s PolicySpec_ResourceIdentity_LabelInfoPathSelectorContexts) WithValue(value []PolicySpec_ResourceIdentity_LabelInfo_UsageContext) *PolicySpecResourceIdentityLabelInfo_FieldTerminalPathValue { 4970 return s.FieldPath().WithIValue(value).(*PolicySpecResourceIdentityLabelInfo_FieldTerminalPathValue) 4971 } 4972 4973 func (s PolicySpec_ResourceIdentity_LabelInfoPathSelectorContexts) WithArrayOfValues(values [][]PolicySpec_ResourceIdentity_LabelInfo_UsageContext) *PolicySpecResourceIdentityLabelInfo_FieldTerminalPathArrayOfValues { 4974 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecResourceIdentityLabelInfo_FieldTerminalPathArrayOfValues) 4975 } 4976 4977 func (s PolicySpec_ResourceIdentity_LabelInfoPathSelectorContexts) WithItemValue(value PolicySpec_ResourceIdentity_LabelInfo_UsageContext) *PolicySpecResourceIdentityLabelInfo_FieldTerminalPathArrayItemValue { 4978 return s.FieldPath().WithIArrayItemValue(value).(*PolicySpecResourceIdentityLabelInfo_FieldTerminalPathArrayItemValue) 4979 } 4980 4981 type PolicySpec_ResourceIdentity_LabelInfoPathSelectorMappedNameSegment struct{} 4982 4983 func (PolicySpec_ResourceIdentity_LabelInfoPathSelectorMappedNameSegment) FieldPath() *PolicySpecResourceIdentityLabelInfo_FieldTerminalPath { 4984 return &PolicySpecResourceIdentityLabelInfo_FieldTerminalPath{selector: PolicySpecResourceIdentityLabelInfo_FieldPathSelectorMappedNameSegment} 4985 } 4986 4987 func (s PolicySpec_ResourceIdentity_LabelInfoPathSelectorMappedNameSegment) WithValue(value string) *PolicySpecResourceIdentityLabelInfo_FieldTerminalPathValue { 4988 return s.FieldPath().WithIValue(value).(*PolicySpecResourceIdentityLabelInfo_FieldTerminalPathValue) 4989 } 4990 4991 func (s PolicySpec_ResourceIdentity_LabelInfoPathSelectorMappedNameSegment) WithArrayOfValues(values []string) *PolicySpecResourceIdentityLabelInfo_FieldTerminalPathArrayOfValues { 4992 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecResourceIdentityLabelInfo_FieldTerminalPathArrayOfValues) 4993 } 4994 4995 type PolicySpecSupportingAlertQueryTsQueryFieldPathBuilder struct{} 4996 4997 func NewPolicySpecSupportingAlertQueryTsQueryFieldPathBuilder() PolicySpecSupportingAlertQueryTsQueryFieldPathBuilder { 4998 return PolicySpecSupportingAlertQueryTsQueryFieldPathBuilder{} 4999 } 5000 func (PolicySpecSupportingAlertQueryTsQueryFieldPathBuilder) Description() PolicySpec_SupportingAlertQuery_TsQueryPathSelectorDescription { 5001 return PolicySpec_SupportingAlertQuery_TsQueryPathSelectorDescription{} 5002 } 5003 func (PolicySpecSupportingAlertQueryTsQueryFieldPathBuilder) FilterTemplate() PolicySpec_SupportingAlertQuery_TsQueryPathSelectorFilterTemplate { 5004 return PolicySpec_SupportingAlertQuery_TsQueryPathSelectorFilterTemplate{} 5005 } 5006 func (PolicySpecSupportingAlertQueryTsQueryFieldPathBuilder) Aggregation() PolicySpec_SupportingAlertQuery_TsQueryPathSelectorAggregation { 5007 return PolicySpec_SupportingAlertQuery_TsQueryPathSelectorAggregation{} 5008 } 5009 5010 type PolicySpec_SupportingAlertQuery_TsQueryPathSelectorDescription struct{} 5011 5012 func (PolicySpec_SupportingAlertQuery_TsQueryPathSelectorDescription) FieldPath() *PolicySpecSupportingAlertQueryTsQuery_FieldTerminalPath { 5013 return &PolicySpecSupportingAlertQueryTsQuery_FieldTerminalPath{selector: PolicySpecSupportingAlertQueryTsQuery_FieldPathSelectorDescription} 5014 } 5015 5016 func (s PolicySpec_SupportingAlertQuery_TsQueryPathSelectorDescription) WithValue(value string) *PolicySpecSupportingAlertQueryTsQuery_FieldTerminalPathValue { 5017 return s.FieldPath().WithIValue(value).(*PolicySpecSupportingAlertQueryTsQuery_FieldTerminalPathValue) 5018 } 5019 5020 func (s PolicySpec_SupportingAlertQuery_TsQueryPathSelectorDescription) WithArrayOfValues(values []string) *PolicySpecSupportingAlertQueryTsQuery_FieldTerminalPathArrayOfValues { 5021 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecSupportingAlertQueryTsQuery_FieldTerminalPathArrayOfValues) 5022 } 5023 5024 type PolicySpec_SupportingAlertQuery_TsQueryPathSelectorFilterTemplate struct{} 5025 5026 func (PolicySpec_SupportingAlertQuery_TsQueryPathSelectorFilterTemplate) FieldPath() *PolicySpecSupportingAlertQueryTsQuery_FieldTerminalPath { 5027 return &PolicySpecSupportingAlertQueryTsQuery_FieldTerminalPath{selector: PolicySpecSupportingAlertQueryTsQuery_FieldPathSelectorFilterTemplate} 5028 } 5029 5030 func (s PolicySpec_SupportingAlertQuery_TsQueryPathSelectorFilterTemplate) WithValue(value string) *PolicySpecSupportingAlertQueryTsQuery_FieldTerminalPathValue { 5031 return s.FieldPath().WithIValue(value).(*PolicySpecSupportingAlertQueryTsQuery_FieldTerminalPathValue) 5032 } 5033 5034 func (s PolicySpec_SupportingAlertQuery_TsQueryPathSelectorFilterTemplate) WithArrayOfValues(values []string) *PolicySpecSupportingAlertQueryTsQuery_FieldTerminalPathArrayOfValues { 5035 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecSupportingAlertQueryTsQuery_FieldTerminalPathArrayOfValues) 5036 } 5037 5038 type PolicySpec_SupportingAlertQuery_TsQueryPathSelectorAggregation struct{} 5039 5040 func (PolicySpec_SupportingAlertQuery_TsQueryPathSelectorAggregation) FieldPath() *PolicySpecSupportingAlertQueryTsQuery_FieldTerminalPath { 5041 return &PolicySpecSupportingAlertQueryTsQuery_FieldTerminalPath{selector: PolicySpecSupportingAlertQueryTsQuery_FieldPathSelectorAggregation} 5042 } 5043 5044 func (s PolicySpec_SupportingAlertQuery_TsQueryPathSelectorAggregation) WithValue(value *monitoring_common.Aggregation) *PolicySpecSupportingAlertQueryTsQuery_FieldTerminalPathValue { 5045 return s.FieldPath().WithIValue(value).(*PolicySpecSupportingAlertQueryTsQuery_FieldTerminalPathValue) 5046 } 5047 5048 func (s PolicySpec_SupportingAlertQuery_TsQueryPathSelectorAggregation) WithArrayOfValues(values []*monitoring_common.Aggregation) *PolicySpecSupportingAlertQueryTsQuery_FieldTerminalPathArrayOfValues { 5049 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecSupportingAlertQueryTsQuery_FieldTerminalPathArrayOfValues) 5050 } 5051 5052 func (PolicySpec_SupportingAlertQuery_TsQueryPathSelectorAggregation) WithSubPath(subPath monitoring_common.Aggregation_FieldPath) *PolicySpecSupportingAlertQueryTsQuery_FieldSubPath { 5053 return &PolicySpecSupportingAlertQueryTsQuery_FieldSubPath{selector: PolicySpecSupportingAlertQueryTsQuery_FieldPathSelectorAggregation, subPath: subPath} 5054 } 5055 5056 func (s PolicySpec_SupportingAlertQuery_TsQueryPathSelectorAggregation) WithSubValue(subPathValue monitoring_common.Aggregation_FieldPathValue) *PolicySpecSupportingAlertQueryTsQuery_FieldSubPathValue { 5057 return &PolicySpecSupportingAlertQueryTsQuery_FieldSubPathValue{PolicySpecSupportingAlertQueryTsQuery_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 5058 } 5059 5060 func (s PolicySpec_SupportingAlertQuery_TsQueryPathSelectorAggregation) WithSubArrayOfValues(subPathArrayOfValues monitoring_common.Aggregation_FieldPathArrayOfValues) *PolicySpecSupportingAlertQueryTsQuery_FieldSubPathArrayOfValues { 5061 return &PolicySpecSupportingAlertQueryTsQuery_FieldSubPathArrayOfValues{PolicySpecSupportingAlertQueryTsQuery_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 5062 } 5063 5064 func (s PolicySpec_SupportingAlertQuery_TsQueryPathSelectorAggregation) WithSubArrayItemValue(subPathArrayItemValue monitoring_common.Aggregation_FieldPathArrayItemValue) *PolicySpecSupportingAlertQueryTsQuery_FieldSubPathArrayItemValue { 5065 return &PolicySpecSupportingAlertQueryTsQuery_FieldSubPathArrayItemValue{PolicySpecSupportingAlertQueryTsQuery_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 5066 } 5067 5068 func (PolicySpec_SupportingAlertQuery_TsQueryPathSelectorAggregation) AlignmentPeriod() PolicySpec_SupportingAlertQuery_TsQueryPathSelectorAggregationAlignmentPeriod { 5069 return PolicySpec_SupportingAlertQuery_TsQueryPathSelectorAggregationAlignmentPeriod{} 5070 } 5071 5072 func (PolicySpec_SupportingAlertQuery_TsQueryPathSelectorAggregation) PerSeriesAligner() PolicySpec_SupportingAlertQuery_TsQueryPathSelectorAggregationPerSeriesAligner { 5073 return PolicySpec_SupportingAlertQuery_TsQueryPathSelectorAggregationPerSeriesAligner{} 5074 } 5075 5076 func (PolicySpec_SupportingAlertQuery_TsQueryPathSelectorAggregation) CrossSeriesReducer() PolicySpec_SupportingAlertQuery_TsQueryPathSelectorAggregationCrossSeriesReducer { 5077 return PolicySpec_SupportingAlertQuery_TsQueryPathSelectorAggregationCrossSeriesReducer{} 5078 } 5079 5080 func (PolicySpec_SupportingAlertQuery_TsQueryPathSelectorAggregation) GroupByFields() PolicySpec_SupportingAlertQuery_TsQueryPathSelectorAggregationGroupByFields { 5081 return PolicySpec_SupportingAlertQuery_TsQueryPathSelectorAggregationGroupByFields{} 5082 } 5083 5084 type PolicySpec_SupportingAlertQuery_TsQueryPathSelectorAggregationAlignmentPeriod struct{} 5085 5086 func (PolicySpec_SupportingAlertQuery_TsQueryPathSelectorAggregationAlignmentPeriod) FieldPath() *PolicySpecSupportingAlertQueryTsQuery_FieldSubPath { 5087 return &PolicySpecSupportingAlertQueryTsQuery_FieldSubPath{ 5088 selector: PolicySpecSupportingAlertQueryTsQuery_FieldPathSelectorAggregation, 5089 subPath: monitoring_common.NewAggregationFieldPathBuilder().AlignmentPeriod().FieldPath(), 5090 } 5091 } 5092 5093 func (s PolicySpec_SupportingAlertQuery_TsQueryPathSelectorAggregationAlignmentPeriod) WithValue(value *durationpb.Duration) *PolicySpecSupportingAlertQueryTsQuery_FieldSubPathValue { 5094 return s.FieldPath().WithIValue(value).(*PolicySpecSupportingAlertQueryTsQuery_FieldSubPathValue) 5095 } 5096 5097 func (s PolicySpec_SupportingAlertQuery_TsQueryPathSelectorAggregationAlignmentPeriod) WithArrayOfValues(values []*durationpb.Duration) *PolicySpecSupportingAlertQueryTsQuery_FieldSubPathArrayOfValues { 5098 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecSupportingAlertQueryTsQuery_FieldSubPathArrayOfValues) 5099 } 5100 5101 type PolicySpec_SupportingAlertQuery_TsQueryPathSelectorAggregationPerSeriesAligner struct{} 5102 5103 func (PolicySpec_SupportingAlertQuery_TsQueryPathSelectorAggregationPerSeriesAligner) FieldPath() *PolicySpecSupportingAlertQueryTsQuery_FieldSubPath { 5104 return &PolicySpecSupportingAlertQueryTsQuery_FieldSubPath{ 5105 selector: PolicySpecSupportingAlertQueryTsQuery_FieldPathSelectorAggregation, 5106 subPath: monitoring_common.NewAggregationFieldPathBuilder().PerSeriesAligner().FieldPath(), 5107 } 5108 } 5109 5110 func (s PolicySpec_SupportingAlertQuery_TsQueryPathSelectorAggregationPerSeriesAligner) WithValue(value monitoring_common.Aggregation_Aligner) *PolicySpecSupportingAlertQueryTsQuery_FieldSubPathValue { 5111 return s.FieldPath().WithIValue(value).(*PolicySpecSupportingAlertQueryTsQuery_FieldSubPathValue) 5112 } 5113 5114 func (s PolicySpec_SupportingAlertQuery_TsQueryPathSelectorAggregationPerSeriesAligner) WithArrayOfValues(values []monitoring_common.Aggregation_Aligner) *PolicySpecSupportingAlertQueryTsQuery_FieldSubPathArrayOfValues { 5115 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecSupportingAlertQueryTsQuery_FieldSubPathArrayOfValues) 5116 } 5117 5118 type PolicySpec_SupportingAlertQuery_TsQueryPathSelectorAggregationCrossSeriesReducer struct{} 5119 5120 func (PolicySpec_SupportingAlertQuery_TsQueryPathSelectorAggregationCrossSeriesReducer) FieldPath() *PolicySpecSupportingAlertQueryTsQuery_FieldSubPath { 5121 return &PolicySpecSupportingAlertQueryTsQuery_FieldSubPath{ 5122 selector: PolicySpecSupportingAlertQueryTsQuery_FieldPathSelectorAggregation, 5123 subPath: monitoring_common.NewAggregationFieldPathBuilder().CrossSeriesReducer().FieldPath(), 5124 } 5125 } 5126 5127 func (s PolicySpec_SupportingAlertQuery_TsQueryPathSelectorAggregationCrossSeriesReducer) WithValue(value monitoring_common.Aggregation_Reducer) *PolicySpecSupportingAlertQueryTsQuery_FieldSubPathValue { 5128 return s.FieldPath().WithIValue(value).(*PolicySpecSupportingAlertQueryTsQuery_FieldSubPathValue) 5129 } 5130 5131 func (s PolicySpec_SupportingAlertQuery_TsQueryPathSelectorAggregationCrossSeriesReducer) WithArrayOfValues(values []monitoring_common.Aggregation_Reducer) *PolicySpecSupportingAlertQueryTsQuery_FieldSubPathArrayOfValues { 5132 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecSupportingAlertQueryTsQuery_FieldSubPathArrayOfValues) 5133 } 5134 5135 type PolicySpec_SupportingAlertQuery_TsQueryPathSelectorAggregationGroupByFields struct{} 5136 5137 func (PolicySpec_SupportingAlertQuery_TsQueryPathSelectorAggregationGroupByFields) FieldPath() *PolicySpecSupportingAlertQueryTsQuery_FieldSubPath { 5138 return &PolicySpecSupportingAlertQueryTsQuery_FieldSubPath{ 5139 selector: PolicySpecSupportingAlertQueryTsQuery_FieldPathSelectorAggregation, 5140 subPath: monitoring_common.NewAggregationFieldPathBuilder().GroupByFields().FieldPath(), 5141 } 5142 } 5143 5144 func (s PolicySpec_SupportingAlertQuery_TsQueryPathSelectorAggregationGroupByFields) WithValue(value []string) *PolicySpecSupportingAlertQueryTsQuery_FieldSubPathValue { 5145 return s.FieldPath().WithIValue(value).(*PolicySpecSupportingAlertQueryTsQuery_FieldSubPathValue) 5146 } 5147 5148 func (s PolicySpec_SupportingAlertQuery_TsQueryPathSelectorAggregationGroupByFields) WithArrayOfValues(values [][]string) *PolicySpecSupportingAlertQueryTsQuery_FieldSubPathArrayOfValues { 5149 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecSupportingAlertQueryTsQuery_FieldSubPathArrayOfValues) 5150 } 5151 5152 func (s PolicySpec_SupportingAlertQuery_TsQueryPathSelectorAggregationGroupByFields) WithItemValue(value string) *PolicySpecSupportingAlertQueryTsQuery_FieldSubPathArrayItemValue { 5153 return s.FieldPath().WithIArrayItemValue(value).(*PolicySpecSupportingAlertQueryTsQuery_FieldSubPathArrayItemValue) 5154 } 5155 5156 type PolicySpecSupportingAlertQueryLogQueryFieldPathBuilder struct{} 5157 5158 func NewPolicySpecSupportingAlertQueryLogQueryFieldPathBuilder() PolicySpecSupportingAlertQueryLogQueryFieldPathBuilder { 5159 return PolicySpecSupportingAlertQueryLogQueryFieldPathBuilder{} 5160 } 5161 func (PolicySpecSupportingAlertQueryLogQueryFieldPathBuilder) Description() PolicySpec_SupportingAlertQuery_LogQueryPathSelectorDescription { 5162 return PolicySpec_SupportingAlertQuery_LogQueryPathSelectorDescription{} 5163 } 5164 func (PolicySpecSupportingAlertQueryLogQueryFieldPathBuilder) FilterTemplate() PolicySpec_SupportingAlertQuery_LogQueryPathSelectorFilterTemplate { 5165 return PolicySpec_SupportingAlertQuery_LogQueryPathSelectorFilterTemplate{} 5166 } 5167 5168 type PolicySpec_SupportingAlertQuery_LogQueryPathSelectorDescription struct{} 5169 5170 func (PolicySpec_SupportingAlertQuery_LogQueryPathSelectorDescription) FieldPath() *PolicySpecSupportingAlertQueryLogQuery_FieldTerminalPath { 5171 return &PolicySpecSupportingAlertQueryLogQuery_FieldTerminalPath{selector: PolicySpecSupportingAlertQueryLogQuery_FieldPathSelectorDescription} 5172 } 5173 5174 func (s PolicySpec_SupportingAlertQuery_LogQueryPathSelectorDescription) WithValue(value string) *PolicySpecSupportingAlertQueryLogQuery_FieldTerminalPathValue { 5175 return s.FieldPath().WithIValue(value).(*PolicySpecSupportingAlertQueryLogQuery_FieldTerminalPathValue) 5176 } 5177 5178 func (s PolicySpec_SupportingAlertQuery_LogQueryPathSelectorDescription) WithArrayOfValues(values []string) *PolicySpecSupportingAlertQueryLogQuery_FieldTerminalPathArrayOfValues { 5179 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecSupportingAlertQueryLogQuery_FieldTerminalPathArrayOfValues) 5180 } 5181 5182 type PolicySpec_SupportingAlertQuery_LogQueryPathSelectorFilterTemplate struct{} 5183 5184 func (PolicySpec_SupportingAlertQuery_LogQueryPathSelectorFilterTemplate) FieldPath() *PolicySpecSupportingAlertQueryLogQuery_FieldTerminalPath { 5185 return &PolicySpecSupportingAlertQueryLogQuery_FieldTerminalPath{selector: PolicySpecSupportingAlertQueryLogQuery_FieldPathSelectorFilterTemplate} 5186 } 5187 5188 func (s PolicySpec_SupportingAlertQuery_LogQueryPathSelectorFilterTemplate) WithValue(value string) *PolicySpecSupportingAlertQueryLogQuery_FieldTerminalPathValue { 5189 return s.FieldPath().WithIValue(value).(*PolicySpecSupportingAlertQueryLogQuery_FieldTerminalPathValue) 5190 } 5191 5192 func (s PolicySpec_SupportingAlertQuery_LogQueryPathSelectorFilterTemplate) WithArrayOfValues(values []string) *PolicySpecSupportingAlertQueryLogQuery_FieldTerminalPathArrayOfValues { 5193 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecSupportingAlertQueryLogQuery_FieldTerminalPathArrayOfValues) 5194 } 5195 5196 type PolicySpecSupportingAlertQueryRestGetQueryFieldPathBuilder struct{} 5197 5198 func NewPolicySpecSupportingAlertQueryRestGetQueryFieldPathBuilder() PolicySpecSupportingAlertQueryRestGetQueryFieldPathBuilder { 5199 return PolicySpecSupportingAlertQueryRestGetQueryFieldPathBuilder{} 5200 } 5201 func (PolicySpecSupportingAlertQueryRestGetQueryFieldPathBuilder) Description() PolicySpec_SupportingAlertQuery_RestGetQueryPathSelectorDescription { 5202 return PolicySpec_SupportingAlertQuery_RestGetQueryPathSelectorDescription{} 5203 } 5204 func (PolicySpecSupportingAlertQueryRestGetQueryFieldPathBuilder) Endpoint() PolicySpec_SupportingAlertQuery_RestGetQueryPathSelectorEndpoint { 5205 return PolicySpec_SupportingAlertQuery_RestGetQueryPathSelectorEndpoint{} 5206 } 5207 func (PolicySpecSupportingAlertQueryRestGetQueryFieldPathBuilder) PathTemplate() PolicySpec_SupportingAlertQuery_RestGetQueryPathSelectorPathTemplate { 5208 return PolicySpec_SupportingAlertQuery_RestGetQueryPathSelectorPathTemplate{} 5209 } 5210 func (PolicySpecSupportingAlertQueryRestGetQueryFieldPathBuilder) View() PolicySpec_SupportingAlertQuery_RestGetQueryPathSelectorView { 5211 return PolicySpec_SupportingAlertQuery_RestGetQueryPathSelectorView{} 5212 } 5213 func (PolicySpecSupportingAlertQueryRestGetQueryFieldPathBuilder) FieldMask() PolicySpec_SupportingAlertQuery_RestGetQueryPathSelectorFieldMask { 5214 return PolicySpec_SupportingAlertQuery_RestGetQueryPathSelectorFieldMask{} 5215 } 5216 5217 type PolicySpec_SupportingAlertQuery_RestGetQueryPathSelectorDescription struct{} 5218 5219 func (PolicySpec_SupportingAlertQuery_RestGetQueryPathSelectorDescription) FieldPath() *PolicySpecSupportingAlertQueryRestGetQuery_FieldTerminalPath { 5220 return &PolicySpecSupportingAlertQueryRestGetQuery_FieldTerminalPath{selector: PolicySpecSupportingAlertQueryRestGetQuery_FieldPathSelectorDescription} 5221 } 5222 5223 func (s PolicySpec_SupportingAlertQuery_RestGetQueryPathSelectorDescription) WithValue(value string) *PolicySpecSupportingAlertQueryRestGetQuery_FieldTerminalPathValue { 5224 return s.FieldPath().WithIValue(value).(*PolicySpecSupportingAlertQueryRestGetQuery_FieldTerminalPathValue) 5225 } 5226 5227 func (s PolicySpec_SupportingAlertQuery_RestGetQueryPathSelectorDescription) WithArrayOfValues(values []string) *PolicySpecSupportingAlertQueryRestGetQuery_FieldTerminalPathArrayOfValues { 5228 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecSupportingAlertQueryRestGetQuery_FieldTerminalPathArrayOfValues) 5229 } 5230 5231 type PolicySpec_SupportingAlertQuery_RestGetQueryPathSelectorEndpoint struct{} 5232 5233 func (PolicySpec_SupportingAlertQuery_RestGetQueryPathSelectorEndpoint) FieldPath() *PolicySpecSupportingAlertQueryRestGetQuery_FieldTerminalPath { 5234 return &PolicySpecSupportingAlertQueryRestGetQuery_FieldTerminalPath{selector: PolicySpecSupportingAlertQueryRestGetQuery_FieldPathSelectorEndpoint} 5235 } 5236 5237 func (s PolicySpec_SupportingAlertQuery_RestGetQueryPathSelectorEndpoint) WithValue(value string) *PolicySpecSupportingAlertQueryRestGetQuery_FieldTerminalPathValue { 5238 return s.FieldPath().WithIValue(value).(*PolicySpecSupportingAlertQueryRestGetQuery_FieldTerminalPathValue) 5239 } 5240 5241 func (s PolicySpec_SupportingAlertQuery_RestGetQueryPathSelectorEndpoint) WithArrayOfValues(values []string) *PolicySpecSupportingAlertQueryRestGetQuery_FieldTerminalPathArrayOfValues { 5242 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecSupportingAlertQueryRestGetQuery_FieldTerminalPathArrayOfValues) 5243 } 5244 5245 type PolicySpec_SupportingAlertQuery_RestGetQueryPathSelectorPathTemplate struct{} 5246 5247 func (PolicySpec_SupportingAlertQuery_RestGetQueryPathSelectorPathTemplate) FieldPath() *PolicySpecSupportingAlertQueryRestGetQuery_FieldTerminalPath { 5248 return &PolicySpecSupportingAlertQueryRestGetQuery_FieldTerminalPath{selector: PolicySpecSupportingAlertQueryRestGetQuery_FieldPathSelectorPathTemplate} 5249 } 5250 5251 func (s PolicySpec_SupportingAlertQuery_RestGetQueryPathSelectorPathTemplate) WithValue(value string) *PolicySpecSupportingAlertQueryRestGetQuery_FieldTerminalPathValue { 5252 return s.FieldPath().WithIValue(value).(*PolicySpecSupportingAlertQueryRestGetQuery_FieldTerminalPathValue) 5253 } 5254 5255 func (s PolicySpec_SupportingAlertQuery_RestGetQueryPathSelectorPathTemplate) WithArrayOfValues(values []string) *PolicySpecSupportingAlertQueryRestGetQuery_FieldTerminalPathArrayOfValues { 5256 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecSupportingAlertQueryRestGetQuery_FieldTerminalPathArrayOfValues) 5257 } 5258 5259 type PolicySpec_SupportingAlertQuery_RestGetQueryPathSelectorView struct{} 5260 5261 func (PolicySpec_SupportingAlertQuery_RestGetQueryPathSelectorView) FieldPath() *PolicySpecSupportingAlertQueryRestGetQuery_FieldTerminalPath { 5262 return &PolicySpecSupportingAlertQueryRestGetQuery_FieldTerminalPath{selector: PolicySpecSupportingAlertQueryRestGetQuery_FieldPathSelectorView} 5263 } 5264 5265 func (s PolicySpec_SupportingAlertQuery_RestGetQueryPathSelectorView) WithValue(value string) *PolicySpecSupportingAlertQueryRestGetQuery_FieldTerminalPathValue { 5266 return s.FieldPath().WithIValue(value).(*PolicySpecSupportingAlertQueryRestGetQuery_FieldTerminalPathValue) 5267 } 5268 5269 func (s PolicySpec_SupportingAlertQuery_RestGetQueryPathSelectorView) WithArrayOfValues(values []string) *PolicySpecSupportingAlertQueryRestGetQuery_FieldTerminalPathArrayOfValues { 5270 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecSupportingAlertQueryRestGetQuery_FieldTerminalPathArrayOfValues) 5271 } 5272 5273 type PolicySpec_SupportingAlertQuery_RestGetQueryPathSelectorFieldMask struct{} 5274 5275 func (PolicySpec_SupportingAlertQuery_RestGetQueryPathSelectorFieldMask) FieldPath() *PolicySpecSupportingAlertQueryRestGetQuery_FieldTerminalPath { 5276 return &PolicySpecSupportingAlertQueryRestGetQuery_FieldTerminalPath{selector: PolicySpecSupportingAlertQueryRestGetQuery_FieldPathSelectorFieldMask} 5277 } 5278 5279 func (s PolicySpec_SupportingAlertQuery_RestGetQueryPathSelectorFieldMask) WithValue(value string) *PolicySpecSupportingAlertQueryRestGetQuery_FieldTerminalPathValue { 5280 return s.FieldPath().WithIValue(value).(*PolicySpecSupportingAlertQueryRestGetQuery_FieldTerminalPathValue) 5281 } 5282 5283 func (s PolicySpec_SupportingAlertQuery_RestGetQueryPathSelectorFieldMask) WithArrayOfValues(values []string) *PolicySpecSupportingAlertQueryRestGetQuery_FieldTerminalPathArrayOfValues { 5284 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecSupportingAlertQueryRestGetQuery_FieldTerminalPathArrayOfValues) 5285 } 5286 5287 type PolicySpecSupportingAlertQueryRestListQueryFieldPathBuilder struct{} 5288 5289 func NewPolicySpecSupportingAlertQueryRestListQueryFieldPathBuilder() PolicySpecSupportingAlertQueryRestListQueryFieldPathBuilder { 5290 return PolicySpecSupportingAlertQueryRestListQueryFieldPathBuilder{} 5291 } 5292 func (PolicySpecSupportingAlertQueryRestListQueryFieldPathBuilder) Description() PolicySpec_SupportingAlertQuery_RestListQueryPathSelectorDescription { 5293 return PolicySpec_SupportingAlertQuery_RestListQueryPathSelectorDescription{} 5294 } 5295 func (PolicySpecSupportingAlertQueryRestListQueryFieldPathBuilder) Endpoint() PolicySpec_SupportingAlertQuery_RestListQueryPathSelectorEndpoint { 5296 return PolicySpec_SupportingAlertQuery_RestListQueryPathSelectorEndpoint{} 5297 } 5298 func (PolicySpecSupportingAlertQueryRestListQueryFieldPathBuilder) PathTemplate() PolicySpec_SupportingAlertQuery_RestListQueryPathSelectorPathTemplate { 5299 return PolicySpec_SupportingAlertQuery_RestListQueryPathSelectorPathTemplate{} 5300 } 5301 func (PolicySpecSupportingAlertQueryRestListQueryFieldPathBuilder) View() PolicySpec_SupportingAlertQuery_RestListQueryPathSelectorView { 5302 return PolicySpec_SupportingAlertQuery_RestListQueryPathSelectorView{} 5303 } 5304 func (PolicySpecSupportingAlertQueryRestListQueryFieldPathBuilder) FieldMask() PolicySpec_SupportingAlertQuery_RestListQueryPathSelectorFieldMask { 5305 return PolicySpec_SupportingAlertQuery_RestListQueryPathSelectorFieldMask{} 5306 } 5307 func (PolicySpecSupportingAlertQueryRestListQueryFieldPathBuilder) FilterTemplate() PolicySpec_SupportingAlertQuery_RestListQueryPathSelectorFilterTemplate { 5308 return PolicySpec_SupportingAlertQuery_RestListQueryPathSelectorFilterTemplate{} 5309 } 5310 5311 type PolicySpec_SupportingAlertQuery_RestListQueryPathSelectorDescription struct{} 5312 5313 func (PolicySpec_SupportingAlertQuery_RestListQueryPathSelectorDescription) FieldPath() *PolicySpecSupportingAlertQueryRestListQuery_FieldTerminalPath { 5314 return &PolicySpecSupportingAlertQueryRestListQuery_FieldTerminalPath{selector: PolicySpecSupportingAlertQueryRestListQuery_FieldPathSelectorDescription} 5315 } 5316 5317 func (s PolicySpec_SupportingAlertQuery_RestListQueryPathSelectorDescription) WithValue(value string) *PolicySpecSupportingAlertQueryRestListQuery_FieldTerminalPathValue { 5318 return s.FieldPath().WithIValue(value).(*PolicySpecSupportingAlertQueryRestListQuery_FieldTerminalPathValue) 5319 } 5320 5321 func (s PolicySpec_SupportingAlertQuery_RestListQueryPathSelectorDescription) WithArrayOfValues(values []string) *PolicySpecSupportingAlertQueryRestListQuery_FieldTerminalPathArrayOfValues { 5322 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecSupportingAlertQueryRestListQuery_FieldTerminalPathArrayOfValues) 5323 } 5324 5325 type PolicySpec_SupportingAlertQuery_RestListQueryPathSelectorEndpoint struct{} 5326 5327 func (PolicySpec_SupportingAlertQuery_RestListQueryPathSelectorEndpoint) FieldPath() *PolicySpecSupportingAlertQueryRestListQuery_FieldTerminalPath { 5328 return &PolicySpecSupportingAlertQueryRestListQuery_FieldTerminalPath{selector: PolicySpecSupportingAlertQueryRestListQuery_FieldPathSelectorEndpoint} 5329 } 5330 5331 func (s PolicySpec_SupportingAlertQuery_RestListQueryPathSelectorEndpoint) WithValue(value string) *PolicySpecSupportingAlertQueryRestListQuery_FieldTerminalPathValue { 5332 return s.FieldPath().WithIValue(value).(*PolicySpecSupportingAlertQueryRestListQuery_FieldTerminalPathValue) 5333 } 5334 5335 func (s PolicySpec_SupportingAlertQuery_RestListQueryPathSelectorEndpoint) WithArrayOfValues(values []string) *PolicySpecSupportingAlertQueryRestListQuery_FieldTerminalPathArrayOfValues { 5336 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecSupportingAlertQueryRestListQuery_FieldTerminalPathArrayOfValues) 5337 } 5338 5339 type PolicySpec_SupportingAlertQuery_RestListQueryPathSelectorPathTemplate struct{} 5340 5341 func (PolicySpec_SupportingAlertQuery_RestListQueryPathSelectorPathTemplate) FieldPath() *PolicySpecSupportingAlertQueryRestListQuery_FieldTerminalPath { 5342 return &PolicySpecSupportingAlertQueryRestListQuery_FieldTerminalPath{selector: PolicySpecSupportingAlertQueryRestListQuery_FieldPathSelectorPathTemplate} 5343 } 5344 5345 func (s PolicySpec_SupportingAlertQuery_RestListQueryPathSelectorPathTemplate) WithValue(value string) *PolicySpecSupportingAlertQueryRestListQuery_FieldTerminalPathValue { 5346 return s.FieldPath().WithIValue(value).(*PolicySpecSupportingAlertQueryRestListQuery_FieldTerminalPathValue) 5347 } 5348 5349 func (s PolicySpec_SupportingAlertQuery_RestListQueryPathSelectorPathTemplate) WithArrayOfValues(values []string) *PolicySpecSupportingAlertQueryRestListQuery_FieldTerminalPathArrayOfValues { 5350 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecSupportingAlertQueryRestListQuery_FieldTerminalPathArrayOfValues) 5351 } 5352 5353 type PolicySpec_SupportingAlertQuery_RestListQueryPathSelectorView struct{} 5354 5355 func (PolicySpec_SupportingAlertQuery_RestListQueryPathSelectorView) FieldPath() *PolicySpecSupportingAlertQueryRestListQuery_FieldTerminalPath { 5356 return &PolicySpecSupportingAlertQueryRestListQuery_FieldTerminalPath{selector: PolicySpecSupportingAlertQueryRestListQuery_FieldPathSelectorView} 5357 } 5358 5359 func (s PolicySpec_SupportingAlertQuery_RestListQueryPathSelectorView) WithValue(value string) *PolicySpecSupportingAlertQueryRestListQuery_FieldTerminalPathValue { 5360 return s.FieldPath().WithIValue(value).(*PolicySpecSupportingAlertQueryRestListQuery_FieldTerminalPathValue) 5361 } 5362 5363 func (s PolicySpec_SupportingAlertQuery_RestListQueryPathSelectorView) WithArrayOfValues(values []string) *PolicySpecSupportingAlertQueryRestListQuery_FieldTerminalPathArrayOfValues { 5364 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecSupportingAlertQueryRestListQuery_FieldTerminalPathArrayOfValues) 5365 } 5366 5367 type PolicySpec_SupportingAlertQuery_RestListQueryPathSelectorFieldMask struct{} 5368 5369 func (PolicySpec_SupportingAlertQuery_RestListQueryPathSelectorFieldMask) FieldPath() *PolicySpecSupportingAlertQueryRestListQuery_FieldTerminalPath { 5370 return &PolicySpecSupportingAlertQueryRestListQuery_FieldTerminalPath{selector: PolicySpecSupportingAlertQueryRestListQuery_FieldPathSelectorFieldMask} 5371 } 5372 5373 func (s PolicySpec_SupportingAlertQuery_RestListQueryPathSelectorFieldMask) WithValue(value string) *PolicySpecSupportingAlertQueryRestListQuery_FieldTerminalPathValue { 5374 return s.FieldPath().WithIValue(value).(*PolicySpecSupportingAlertQueryRestListQuery_FieldTerminalPathValue) 5375 } 5376 5377 func (s PolicySpec_SupportingAlertQuery_RestListQueryPathSelectorFieldMask) WithArrayOfValues(values []string) *PolicySpecSupportingAlertQueryRestListQuery_FieldTerminalPathArrayOfValues { 5378 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecSupportingAlertQueryRestListQuery_FieldTerminalPathArrayOfValues) 5379 } 5380 5381 type PolicySpec_SupportingAlertQuery_RestListQueryPathSelectorFilterTemplate struct{} 5382 5383 func (PolicySpec_SupportingAlertQuery_RestListQueryPathSelectorFilterTemplate) FieldPath() *PolicySpecSupportingAlertQueryRestListQuery_FieldTerminalPath { 5384 return &PolicySpecSupportingAlertQueryRestListQuery_FieldTerminalPath{selector: PolicySpecSupportingAlertQueryRestListQuery_FieldPathSelectorFilterTemplate} 5385 } 5386 5387 func (s PolicySpec_SupportingAlertQuery_RestListQueryPathSelectorFilterTemplate) WithValue(value string) *PolicySpecSupportingAlertQueryRestListQuery_FieldTerminalPathValue { 5388 return s.FieldPath().WithIValue(value).(*PolicySpecSupportingAlertQueryRestListQuery_FieldTerminalPathValue) 5389 } 5390 5391 func (s PolicySpec_SupportingAlertQuery_RestListQueryPathSelectorFilterTemplate) WithArrayOfValues(values []string) *PolicySpecSupportingAlertQueryRestListQuery_FieldTerminalPathArrayOfValues { 5392 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecSupportingAlertQueryRestListQuery_FieldTerminalPathArrayOfValues) 5393 } 5394 5395 type PolicySpecAIAgentHandlingEdgeConnectivityFieldPathBuilder struct{} 5396 5397 func NewPolicySpecAIAgentHandlingEdgeConnectivityFieldPathBuilder() PolicySpecAIAgentHandlingEdgeConnectivityFieldPathBuilder { 5398 return PolicySpecAIAgentHandlingEdgeConnectivityFieldPathBuilder{} 5399 } 5400 func (PolicySpecAIAgentHandlingEdgeConnectivityFieldPathBuilder) DeviceSsh() PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorDeviceSsh { 5401 return PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorDeviceSsh{} 5402 } 5403 func (PolicySpecAIAgentHandlingEdgeConnectivityFieldPathBuilder) ProxiesSsh() PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorProxiesSsh { 5404 return PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorProxiesSsh{} 5405 } 5406 func (PolicySpecAIAgentHandlingEdgeConnectivityFieldPathBuilder) PodSsh() PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorPodSsh { 5407 return PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorPodSsh{} 5408 } 5409 func (PolicySpecAIAgentHandlingEdgeConnectivityFieldPathBuilder) AllowedBins() PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorAllowedBins { 5410 return PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorAllowedBins{} 5411 } 5412 5413 type PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorDeviceSsh struct{} 5414 5415 func (PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorDeviceSsh) FieldPath() *PolicySpecAIAgentHandlingEdgeConnectivity_FieldTerminalPath { 5416 return &PolicySpecAIAgentHandlingEdgeConnectivity_FieldTerminalPath{selector: PolicySpecAIAgentHandlingEdgeConnectivity_FieldPathSelectorDeviceSsh} 5417 } 5418 5419 func (s PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorDeviceSsh) WithValue(value *PolicySpec_AIAgentHandling_EdgeConnectivity_DeviceSSH) *PolicySpecAIAgentHandlingEdgeConnectivity_FieldTerminalPathValue { 5420 return s.FieldPath().WithIValue(value).(*PolicySpecAIAgentHandlingEdgeConnectivity_FieldTerminalPathValue) 5421 } 5422 5423 func (s PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorDeviceSsh) WithArrayOfValues(values []*PolicySpec_AIAgentHandling_EdgeConnectivity_DeviceSSH) *PolicySpecAIAgentHandlingEdgeConnectivity_FieldTerminalPathArrayOfValues { 5424 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecAIAgentHandlingEdgeConnectivity_FieldTerminalPathArrayOfValues) 5425 } 5426 5427 func (PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorDeviceSsh) WithSubPath(subPath PolicySpecAIAgentHandlingEdgeConnectivityDeviceSSH_FieldPath) *PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPath { 5428 return &PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPath{selector: PolicySpecAIAgentHandlingEdgeConnectivity_FieldPathSelectorDeviceSsh, subPath: subPath} 5429 } 5430 5431 func (s PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorDeviceSsh) WithSubValue(subPathValue PolicySpecAIAgentHandlingEdgeConnectivityDeviceSSH_FieldPathValue) *PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathValue { 5432 return &PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathValue{PolicySpecAIAgentHandlingEdgeConnectivity_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 5433 } 5434 5435 func (s PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorDeviceSsh) WithSubArrayOfValues(subPathArrayOfValues PolicySpecAIAgentHandlingEdgeConnectivityDeviceSSH_FieldPathArrayOfValues) *PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathArrayOfValues { 5436 return &PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathArrayOfValues{PolicySpecAIAgentHandlingEdgeConnectivity_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 5437 } 5438 5439 func (s PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorDeviceSsh) WithSubArrayItemValue(subPathArrayItemValue PolicySpecAIAgentHandlingEdgeConnectivityDeviceSSH_FieldPathArrayItemValue) *PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathArrayItemValue { 5440 return &PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathArrayItemValue{PolicySpecAIAgentHandlingEdgeConnectivity_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 5441 } 5442 5443 func (PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorDeviceSsh) ClientName() PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorDeviceSshClientName { 5444 return PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorDeviceSshClientName{} 5445 } 5446 5447 type PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorDeviceSshClientName struct{} 5448 5449 func (PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorDeviceSshClientName) FieldPath() *PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPath { 5450 return &PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPath{ 5451 selector: PolicySpecAIAgentHandlingEdgeConnectivity_FieldPathSelectorDeviceSsh, 5452 subPath: NewPolicySpecAIAgentHandlingEdgeConnectivityDeviceSSHFieldPathBuilder().ClientName().FieldPath(), 5453 } 5454 } 5455 5456 func (s PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorDeviceSshClientName) WithValue(value string) *PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathValue { 5457 return s.FieldPath().WithIValue(value).(*PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathValue) 5458 } 5459 5460 func (s PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorDeviceSshClientName) WithArrayOfValues(values []string) *PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathArrayOfValues { 5461 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathArrayOfValues) 5462 } 5463 5464 type PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorProxiesSsh struct{} 5465 5466 func (PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorProxiesSsh) FieldPath() *PolicySpecAIAgentHandlingEdgeConnectivity_FieldTerminalPath { 5467 return &PolicySpecAIAgentHandlingEdgeConnectivity_FieldTerminalPath{selector: PolicySpecAIAgentHandlingEdgeConnectivity_FieldPathSelectorProxiesSsh} 5468 } 5469 5470 func (s PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorProxiesSsh) WithValue(value *PolicySpec_AIAgentHandling_EdgeConnectivity_ProxiesSSH) *PolicySpecAIAgentHandlingEdgeConnectivity_FieldTerminalPathValue { 5471 return s.FieldPath().WithIValue(value).(*PolicySpecAIAgentHandlingEdgeConnectivity_FieldTerminalPathValue) 5472 } 5473 5474 func (s PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorProxiesSsh) WithArrayOfValues(values []*PolicySpec_AIAgentHandling_EdgeConnectivity_ProxiesSSH) *PolicySpecAIAgentHandlingEdgeConnectivity_FieldTerminalPathArrayOfValues { 5475 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecAIAgentHandlingEdgeConnectivity_FieldTerminalPathArrayOfValues) 5476 } 5477 5478 func (PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorProxiesSsh) WithSubPath(subPath PolicySpecAIAgentHandlingEdgeConnectivityProxiesSSH_FieldPath) *PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPath { 5479 return &PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPath{selector: PolicySpecAIAgentHandlingEdgeConnectivity_FieldPathSelectorProxiesSsh, subPath: subPath} 5480 } 5481 5482 func (s PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorProxiesSsh) WithSubValue(subPathValue PolicySpecAIAgentHandlingEdgeConnectivityProxiesSSH_FieldPathValue) *PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathValue { 5483 return &PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathValue{PolicySpecAIAgentHandlingEdgeConnectivity_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 5484 } 5485 5486 func (s PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorProxiesSsh) WithSubArrayOfValues(subPathArrayOfValues PolicySpecAIAgentHandlingEdgeConnectivityProxiesSSH_FieldPathArrayOfValues) *PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathArrayOfValues { 5487 return &PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathArrayOfValues{PolicySpecAIAgentHandlingEdgeConnectivity_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 5488 } 5489 5490 func (s PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorProxiesSsh) WithSubArrayItemValue(subPathArrayItemValue PolicySpecAIAgentHandlingEdgeConnectivityProxiesSSH_FieldPathArrayItemValue) *PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathArrayItemValue { 5491 return &PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathArrayItemValue{PolicySpecAIAgentHandlingEdgeConnectivity_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 5492 } 5493 5494 func (PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorProxiesSsh) ServiceDomain() PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorProxiesSshServiceDomain { 5495 return PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorProxiesSshServiceDomain{} 5496 } 5497 5498 func (PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorProxiesSsh) ProviderNameTmpl() PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorProxiesSshProviderNameTmpl { 5499 return PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorProxiesSshProviderNameTmpl{} 5500 } 5501 5502 func (PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorProxiesSsh) ClientName() PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorProxiesSshClientName { 5503 return PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorProxiesSshClientName{} 5504 } 5505 5506 func (PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorProxiesSsh) ServiceName() PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorProxiesSshServiceName { 5507 return PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorProxiesSshServiceName{} 5508 } 5509 5510 type PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorProxiesSshServiceDomain struct{} 5511 5512 func (PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorProxiesSshServiceDomain) FieldPath() *PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPath { 5513 return &PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPath{ 5514 selector: PolicySpecAIAgentHandlingEdgeConnectivity_FieldPathSelectorProxiesSsh, 5515 subPath: NewPolicySpecAIAgentHandlingEdgeConnectivityProxiesSSHFieldPathBuilder().ServiceDomain().FieldPath(), 5516 } 5517 } 5518 5519 func (s PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorProxiesSshServiceDomain) WithValue(value string) *PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathValue { 5520 return s.FieldPath().WithIValue(value).(*PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathValue) 5521 } 5522 5523 func (s PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorProxiesSshServiceDomain) WithArrayOfValues(values []string) *PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathArrayOfValues { 5524 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathArrayOfValues) 5525 } 5526 5527 type PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorProxiesSshProviderNameTmpl struct{} 5528 5529 func (PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorProxiesSshProviderNameTmpl) FieldPath() *PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPath { 5530 return &PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPath{ 5531 selector: PolicySpecAIAgentHandlingEdgeConnectivity_FieldPathSelectorProxiesSsh, 5532 subPath: NewPolicySpecAIAgentHandlingEdgeConnectivityProxiesSSHFieldPathBuilder().ProviderNameTmpl().FieldPath(), 5533 } 5534 } 5535 5536 func (s PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorProxiesSshProviderNameTmpl) WithValue(value string) *PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathValue { 5537 return s.FieldPath().WithIValue(value).(*PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathValue) 5538 } 5539 5540 func (s PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorProxiesSshProviderNameTmpl) WithArrayOfValues(values []string) *PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathArrayOfValues { 5541 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathArrayOfValues) 5542 } 5543 5544 type PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorProxiesSshClientName struct{} 5545 5546 func (PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorProxiesSshClientName) FieldPath() *PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPath { 5547 return &PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPath{ 5548 selector: PolicySpecAIAgentHandlingEdgeConnectivity_FieldPathSelectorProxiesSsh, 5549 subPath: NewPolicySpecAIAgentHandlingEdgeConnectivityProxiesSSHFieldPathBuilder().ClientName().FieldPath(), 5550 } 5551 } 5552 5553 func (s PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorProxiesSshClientName) WithValue(value string) *PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathValue { 5554 return s.FieldPath().WithIValue(value).(*PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathValue) 5555 } 5556 5557 func (s PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorProxiesSshClientName) WithArrayOfValues(values []string) *PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathArrayOfValues { 5558 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathArrayOfValues) 5559 } 5560 5561 type PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorProxiesSshServiceName struct{} 5562 5563 func (PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorProxiesSshServiceName) FieldPath() *PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPath { 5564 return &PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPath{ 5565 selector: PolicySpecAIAgentHandlingEdgeConnectivity_FieldPathSelectorProxiesSsh, 5566 subPath: NewPolicySpecAIAgentHandlingEdgeConnectivityProxiesSSHFieldPathBuilder().ServiceName().FieldPath(), 5567 } 5568 } 5569 5570 func (s PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorProxiesSshServiceName) WithValue(value string) *PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathValue { 5571 return s.FieldPath().WithIValue(value).(*PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathValue) 5572 } 5573 5574 func (s PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorProxiesSshServiceName) WithArrayOfValues(values []string) *PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathArrayOfValues { 5575 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathArrayOfValues) 5576 } 5577 5578 type PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorPodSsh struct{} 5579 5580 func (PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorPodSsh) FieldPath() *PolicySpecAIAgentHandlingEdgeConnectivity_FieldTerminalPath { 5581 return &PolicySpecAIAgentHandlingEdgeConnectivity_FieldTerminalPath{selector: PolicySpecAIAgentHandlingEdgeConnectivity_FieldPathSelectorPodSsh} 5582 } 5583 5584 func (s PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorPodSsh) WithValue(value *PolicySpec_AIAgentHandling_EdgeConnectivity_PodSSH) *PolicySpecAIAgentHandlingEdgeConnectivity_FieldTerminalPathValue { 5585 return s.FieldPath().WithIValue(value).(*PolicySpecAIAgentHandlingEdgeConnectivity_FieldTerminalPathValue) 5586 } 5587 5588 func (s PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorPodSsh) WithArrayOfValues(values []*PolicySpec_AIAgentHandling_EdgeConnectivity_PodSSH) *PolicySpecAIAgentHandlingEdgeConnectivity_FieldTerminalPathArrayOfValues { 5589 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecAIAgentHandlingEdgeConnectivity_FieldTerminalPathArrayOfValues) 5590 } 5591 5592 func (PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorPodSsh) WithSubPath(subPath PolicySpecAIAgentHandlingEdgeConnectivityPodSSH_FieldPath) *PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPath { 5593 return &PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPath{selector: PolicySpecAIAgentHandlingEdgeConnectivity_FieldPathSelectorPodSsh, subPath: subPath} 5594 } 5595 5596 func (s PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorPodSsh) WithSubValue(subPathValue PolicySpecAIAgentHandlingEdgeConnectivityPodSSH_FieldPathValue) *PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathValue { 5597 return &PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathValue{PolicySpecAIAgentHandlingEdgeConnectivity_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 5598 } 5599 5600 func (s PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorPodSsh) WithSubArrayOfValues(subPathArrayOfValues PolicySpecAIAgentHandlingEdgeConnectivityPodSSH_FieldPathArrayOfValues) *PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathArrayOfValues { 5601 return &PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathArrayOfValues{PolicySpecAIAgentHandlingEdgeConnectivity_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 5602 } 5603 5604 func (s PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorPodSsh) WithSubArrayItemValue(subPathArrayItemValue PolicySpecAIAgentHandlingEdgeConnectivityPodSSH_FieldPathArrayItemValue) *PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathArrayItemValue { 5605 return &PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathArrayItemValue{PolicySpecAIAgentHandlingEdgeConnectivity_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 5606 } 5607 5608 func (PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorPodSsh) ClientName() PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorPodSshClientName { 5609 return PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorPodSshClientName{} 5610 } 5611 5612 func (PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorPodSsh) Username() PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorPodSshUsername { 5613 return PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorPodSshUsername{} 5614 } 5615 5616 type PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorPodSshClientName struct{} 5617 5618 func (PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorPodSshClientName) FieldPath() *PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPath { 5619 return &PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPath{ 5620 selector: PolicySpecAIAgentHandlingEdgeConnectivity_FieldPathSelectorPodSsh, 5621 subPath: NewPolicySpecAIAgentHandlingEdgeConnectivityPodSSHFieldPathBuilder().ClientName().FieldPath(), 5622 } 5623 } 5624 5625 func (s PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorPodSshClientName) WithValue(value string) *PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathValue { 5626 return s.FieldPath().WithIValue(value).(*PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathValue) 5627 } 5628 5629 func (s PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorPodSshClientName) WithArrayOfValues(values []string) *PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathArrayOfValues { 5630 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathArrayOfValues) 5631 } 5632 5633 type PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorPodSshUsername struct{} 5634 5635 func (PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorPodSshUsername) FieldPath() *PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPath { 5636 return &PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPath{ 5637 selector: PolicySpecAIAgentHandlingEdgeConnectivity_FieldPathSelectorPodSsh, 5638 subPath: NewPolicySpecAIAgentHandlingEdgeConnectivityPodSSHFieldPathBuilder().Username().FieldPath(), 5639 } 5640 } 5641 5642 func (s PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorPodSshUsername) WithValue(value string) *PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathValue { 5643 return s.FieldPath().WithIValue(value).(*PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathValue) 5644 } 5645 5646 func (s PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorPodSshUsername) WithArrayOfValues(values []string) *PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathArrayOfValues { 5647 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecAIAgentHandlingEdgeConnectivity_FieldSubPathArrayOfValues) 5648 } 5649 5650 type PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorAllowedBins struct{} 5651 5652 func (PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorAllowedBins) FieldPath() *PolicySpecAIAgentHandlingEdgeConnectivity_FieldTerminalPath { 5653 return &PolicySpecAIAgentHandlingEdgeConnectivity_FieldTerminalPath{selector: PolicySpecAIAgentHandlingEdgeConnectivity_FieldPathSelectorAllowedBins} 5654 } 5655 5656 func (s PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorAllowedBins) WithValue(value []string) *PolicySpecAIAgentHandlingEdgeConnectivity_FieldTerminalPathValue { 5657 return s.FieldPath().WithIValue(value).(*PolicySpecAIAgentHandlingEdgeConnectivity_FieldTerminalPathValue) 5658 } 5659 5660 func (s PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorAllowedBins) WithArrayOfValues(values [][]string) *PolicySpecAIAgentHandlingEdgeConnectivity_FieldTerminalPathArrayOfValues { 5661 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecAIAgentHandlingEdgeConnectivity_FieldTerminalPathArrayOfValues) 5662 } 5663 5664 func (s PolicySpec_AIAgentHandling_EdgeConnectivityPathSelectorAllowedBins) WithItemValue(value string) *PolicySpecAIAgentHandlingEdgeConnectivity_FieldTerminalPathArrayItemValue { 5665 return s.FieldPath().WithIArrayItemValue(value).(*PolicySpecAIAgentHandlingEdgeConnectivity_FieldTerminalPathArrayItemValue) 5666 } 5667 5668 type PolicySpecAIAgentHandlingRemediationFieldPathBuilder struct{} 5669 5670 func NewPolicySpecAIAgentHandlingRemediationFieldPathBuilder() PolicySpecAIAgentHandlingRemediationFieldPathBuilder { 5671 return PolicySpecAIAgentHandlingRemediationFieldPathBuilder{} 5672 } 5673 func (PolicySpecAIAgentHandlingRemediationFieldPathBuilder) FixInSsh() PolicySpec_AIAgentHandling_RemediationPathSelectorFixInSsh { 5674 return PolicySpec_AIAgentHandling_RemediationPathSelectorFixInSsh{} 5675 } 5676 func (PolicySpecAIAgentHandlingRemediationFieldPathBuilder) Reboot() PolicySpec_AIAgentHandling_RemediationPathSelectorReboot { 5677 return PolicySpec_AIAgentHandling_RemediationPathSelectorReboot{} 5678 } 5679 5680 type PolicySpec_AIAgentHandling_RemediationPathSelectorFixInSsh struct{} 5681 5682 func (PolicySpec_AIAgentHandling_RemediationPathSelectorFixInSsh) FieldPath() *PolicySpecAIAgentHandlingRemediation_FieldTerminalPath { 5683 return &PolicySpecAIAgentHandlingRemediation_FieldTerminalPath{selector: PolicySpecAIAgentHandlingRemediation_FieldPathSelectorFixInSsh} 5684 } 5685 5686 func (s PolicySpec_AIAgentHandling_RemediationPathSelectorFixInSsh) WithValue(value *PolicySpec_AIAgentHandling_Remediation_FixInSSH) *PolicySpecAIAgentHandlingRemediation_FieldTerminalPathValue { 5687 return s.FieldPath().WithIValue(value).(*PolicySpecAIAgentHandlingRemediation_FieldTerminalPathValue) 5688 } 5689 5690 func (s PolicySpec_AIAgentHandling_RemediationPathSelectorFixInSsh) WithArrayOfValues(values []*PolicySpec_AIAgentHandling_Remediation_FixInSSH) *PolicySpecAIAgentHandlingRemediation_FieldTerminalPathArrayOfValues { 5691 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecAIAgentHandlingRemediation_FieldTerminalPathArrayOfValues) 5692 } 5693 5694 func (PolicySpec_AIAgentHandling_RemediationPathSelectorFixInSsh) WithSubPath(subPath PolicySpecAIAgentHandlingRemediationFixInSSH_FieldPath) *PolicySpecAIAgentHandlingRemediation_FieldSubPath { 5695 return &PolicySpecAIAgentHandlingRemediation_FieldSubPath{selector: PolicySpecAIAgentHandlingRemediation_FieldPathSelectorFixInSsh, subPath: subPath} 5696 } 5697 5698 func (s PolicySpec_AIAgentHandling_RemediationPathSelectorFixInSsh) WithSubValue(subPathValue PolicySpecAIAgentHandlingRemediationFixInSSH_FieldPathValue) *PolicySpecAIAgentHandlingRemediation_FieldSubPathValue { 5699 return &PolicySpecAIAgentHandlingRemediation_FieldSubPathValue{PolicySpecAIAgentHandlingRemediation_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 5700 } 5701 5702 func (s PolicySpec_AIAgentHandling_RemediationPathSelectorFixInSsh) WithSubArrayOfValues(subPathArrayOfValues PolicySpecAIAgentHandlingRemediationFixInSSH_FieldPathArrayOfValues) *PolicySpecAIAgentHandlingRemediation_FieldSubPathArrayOfValues { 5703 return &PolicySpecAIAgentHandlingRemediation_FieldSubPathArrayOfValues{PolicySpecAIAgentHandlingRemediation_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 5704 } 5705 5706 func (s PolicySpec_AIAgentHandling_RemediationPathSelectorFixInSsh) WithSubArrayItemValue(subPathArrayItemValue PolicySpecAIAgentHandlingRemediationFixInSSH_FieldPathArrayItemValue) *PolicySpecAIAgentHandlingRemediation_FieldSubPathArrayItemValue { 5707 return &PolicySpecAIAgentHandlingRemediation_FieldSubPathArrayItemValue{PolicySpecAIAgentHandlingRemediation_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 5708 } 5709 5710 type PolicySpec_AIAgentHandling_RemediationPathSelectorReboot struct{} 5711 5712 func (PolicySpec_AIAgentHandling_RemediationPathSelectorReboot) FieldPath() *PolicySpecAIAgentHandlingRemediation_FieldTerminalPath { 5713 return &PolicySpecAIAgentHandlingRemediation_FieldTerminalPath{selector: PolicySpecAIAgentHandlingRemediation_FieldPathSelectorReboot} 5714 } 5715 5716 func (s PolicySpec_AIAgentHandling_RemediationPathSelectorReboot) WithValue(value *PolicySpec_AIAgentHandling_Remediation_Reboot) *PolicySpecAIAgentHandlingRemediation_FieldTerminalPathValue { 5717 return s.FieldPath().WithIValue(value).(*PolicySpecAIAgentHandlingRemediation_FieldTerminalPathValue) 5718 } 5719 5720 func (s PolicySpec_AIAgentHandling_RemediationPathSelectorReboot) WithArrayOfValues(values []*PolicySpec_AIAgentHandling_Remediation_Reboot) *PolicySpecAIAgentHandlingRemediation_FieldTerminalPathArrayOfValues { 5721 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecAIAgentHandlingRemediation_FieldTerminalPathArrayOfValues) 5722 } 5723 5724 func (PolicySpec_AIAgentHandling_RemediationPathSelectorReboot) WithSubPath(subPath PolicySpecAIAgentHandlingRemediationReboot_FieldPath) *PolicySpecAIAgentHandlingRemediation_FieldSubPath { 5725 return &PolicySpecAIAgentHandlingRemediation_FieldSubPath{selector: PolicySpecAIAgentHandlingRemediation_FieldPathSelectorReboot, subPath: subPath} 5726 } 5727 5728 func (s PolicySpec_AIAgentHandling_RemediationPathSelectorReboot) WithSubValue(subPathValue PolicySpecAIAgentHandlingRemediationReboot_FieldPathValue) *PolicySpecAIAgentHandlingRemediation_FieldSubPathValue { 5729 return &PolicySpecAIAgentHandlingRemediation_FieldSubPathValue{PolicySpecAIAgentHandlingRemediation_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 5730 } 5731 5732 func (s PolicySpec_AIAgentHandling_RemediationPathSelectorReboot) WithSubArrayOfValues(subPathArrayOfValues PolicySpecAIAgentHandlingRemediationReboot_FieldPathArrayOfValues) *PolicySpecAIAgentHandlingRemediation_FieldSubPathArrayOfValues { 5733 return &PolicySpecAIAgentHandlingRemediation_FieldSubPathArrayOfValues{PolicySpecAIAgentHandlingRemediation_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 5734 } 5735 5736 func (s PolicySpec_AIAgentHandling_RemediationPathSelectorReboot) WithSubArrayItemValue(subPathArrayItemValue PolicySpecAIAgentHandlingRemediationReboot_FieldPathArrayItemValue) *PolicySpecAIAgentHandlingRemediation_FieldSubPathArrayItemValue { 5737 return &PolicySpecAIAgentHandlingRemediation_FieldSubPathArrayItemValue{PolicySpecAIAgentHandlingRemediation_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 5738 } 5739 5740 type PolicySpecAIAgentHandlingEdgeConnectivityDeviceSSHFieldPathBuilder struct{} 5741 5742 func NewPolicySpecAIAgentHandlingEdgeConnectivityDeviceSSHFieldPathBuilder() PolicySpecAIAgentHandlingEdgeConnectivityDeviceSSHFieldPathBuilder { 5743 return PolicySpecAIAgentHandlingEdgeConnectivityDeviceSSHFieldPathBuilder{} 5744 } 5745 func (PolicySpecAIAgentHandlingEdgeConnectivityDeviceSSHFieldPathBuilder) ClientName() PolicySpec_AIAgentHandling_EdgeConnectivity_DeviceSSHPathSelectorClientName { 5746 return PolicySpec_AIAgentHandling_EdgeConnectivity_DeviceSSHPathSelectorClientName{} 5747 } 5748 5749 type PolicySpec_AIAgentHandling_EdgeConnectivity_DeviceSSHPathSelectorClientName struct{} 5750 5751 func (PolicySpec_AIAgentHandling_EdgeConnectivity_DeviceSSHPathSelectorClientName) FieldPath() *PolicySpecAIAgentHandlingEdgeConnectivityDeviceSSH_FieldTerminalPath { 5752 return &PolicySpecAIAgentHandlingEdgeConnectivityDeviceSSH_FieldTerminalPath{selector: PolicySpecAIAgentHandlingEdgeConnectivityDeviceSSH_FieldPathSelectorClientName} 5753 } 5754 5755 func (s PolicySpec_AIAgentHandling_EdgeConnectivity_DeviceSSHPathSelectorClientName) WithValue(value string) *PolicySpecAIAgentHandlingEdgeConnectivityDeviceSSH_FieldTerminalPathValue { 5756 return s.FieldPath().WithIValue(value).(*PolicySpecAIAgentHandlingEdgeConnectivityDeviceSSH_FieldTerminalPathValue) 5757 } 5758 5759 func (s PolicySpec_AIAgentHandling_EdgeConnectivity_DeviceSSHPathSelectorClientName) WithArrayOfValues(values []string) *PolicySpecAIAgentHandlingEdgeConnectivityDeviceSSH_FieldTerminalPathArrayOfValues { 5760 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecAIAgentHandlingEdgeConnectivityDeviceSSH_FieldTerminalPathArrayOfValues) 5761 } 5762 5763 type PolicySpecAIAgentHandlingEdgeConnectivityProxiesSSHFieldPathBuilder struct{} 5764 5765 func NewPolicySpecAIAgentHandlingEdgeConnectivityProxiesSSHFieldPathBuilder() PolicySpecAIAgentHandlingEdgeConnectivityProxiesSSHFieldPathBuilder { 5766 return PolicySpecAIAgentHandlingEdgeConnectivityProxiesSSHFieldPathBuilder{} 5767 } 5768 func (PolicySpecAIAgentHandlingEdgeConnectivityProxiesSSHFieldPathBuilder) ServiceDomain() PolicySpec_AIAgentHandling_EdgeConnectivity_ProxiesSSHPathSelectorServiceDomain { 5769 return PolicySpec_AIAgentHandling_EdgeConnectivity_ProxiesSSHPathSelectorServiceDomain{} 5770 } 5771 func (PolicySpecAIAgentHandlingEdgeConnectivityProxiesSSHFieldPathBuilder) ProviderNameTmpl() PolicySpec_AIAgentHandling_EdgeConnectivity_ProxiesSSHPathSelectorProviderNameTmpl { 5772 return PolicySpec_AIAgentHandling_EdgeConnectivity_ProxiesSSHPathSelectorProviderNameTmpl{} 5773 } 5774 func (PolicySpecAIAgentHandlingEdgeConnectivityProxiesSSHFieldPathBuilder) ClientName() PolicySpec_AIAgentHandling_EdgeConnectivity_ProxiesSSHPathSelectorClientName { 5775 return PolicySpec_AIAgentHandling_EdgeConnectivity_ProxiesSSHPathSelectorClientName{} 5776 } 5777 func (PolicySpecAIAgentHandlingEdgeConnectivityProxiesSSHFieldPathBuilder) ServiceName() PolicySpec_AIAgentHandling_EdgeConnectivity_ProxiesSSHPathSelectorServiceName { 5778 return PolicySpec_AIAgentHandling_EdgeConnectivity_ProxiesSSHPathSelectorServiceName{} 5779 } 5780 5781 type PolicySpec_AIAgentHandling_EdgeConnectivity_ProxiesSSHPathSelectorServiceDomain struct{} 5782 5783 func (PolicySpec_AIAgentHandling_EdgeConnectivity_ProxiesSSHPathSelectorServiceDomain) FieldPath() *PolicySpecAIAgentHandlingEdgeConnectivityProxiesSSH_FieldTerminalPath { 5784 return &PolicySpecAIAgentHandlingEdgeConnectivityProxiesSSH_FieldTerminalPath{selector: PolicySpecAIAgentHandlingEdgeConnectivityProxiesSSH_FieldPathSelectorServiceDomain} 5785 } 5786 5787 func (s PolicySpec_AIAgentHandling_EdgeConnectivity_ProxiesSSHPathSelectorServiceDomain) WithValue(value string) *PolicySpecAIAgentHandlingEdgeConnectivityProxiesSSH_FieldTerminalPathValue { 5788 return s.FieldPath().WithIValue(value).(*PolicySpecAIAgentHandlingEdgeConnectivityProxiesSSH_FieldTerminalPathValue) 5789 } 5790 5791 func (s PolicySpec_AIAgentHandling_EdgeConnectivity_ProxiesSSHPathSelectorServiceDomain) WithArrayOfValues(values []string) *PolicySpecAIAgentHandlingEdgeConnectivityProxiesSSH_FieldTerminalPathArrayOfValues { 5792 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecAIAgentHandlingEdgeConnectivityProxiesSSH_FieldTerminalPathArrayOfValues) 5793 } 5794 5795 type PolicySpec_AIAgentHandling_EdgeConnectivity_ProxiesSSHPathSelectorProviderNameTmpl struct{} 5796 5797 func (PolicySpec_AIAgentHandling_EdgeConnectivity_ProxiesSSHPathSelectorProviderNameTmpl) FieldPath() *PolicySpecAIAgentHandlingEdgeConnectivityProxiesSSH_FieldTerminalPath { 5798 return &PolicySpecAIAgentHandlingEdgeConnectivityProxiesSSH_FieldTerminalPath{selector: PolicySpecAIAgentHandlingEdgeConnectivityProxiesSSH_FieldPathSelectorProviderNameTmpl} 5799 } 5800 5801 func (s PolicySpec_AIAgentHandling_EdgeConnectivity_ProxiesSSHPathSelectorProviderNameTmpl) WithValue(value string) *PolicySpecAIAgentHandlingEdgeConnectivityProxiesSSH_FieldTerminalPathValue { 5802 return s.FieldPath().WithIValue(value).(*PolicySpecAIAgentHandlingEdgeConnectivityProxiesSSH_FieldTerminalPathValue) 5803 } 5804 5805 func (s PolicySpec_AIAgentHandling_EdgeConnectivity_ProxiesSSHPathSelectorProviderNameTmpl) WithArrayOfValues(values []string) *PolicySpecAIAgentHandlingEdgeConnectivityProxiesSSH_FieldTerminalPathArrayOfValues { 5806 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecAIAgentHandlingEdgeConnectivityProxiesSSH_FieldTerminalPathArrayOfValues) 5807 } 5808 5809 type PolicySpec_AIAgentHandling_EdgeConnectivity_ProxiesSSHPathSelectorClientName struct{} 5810 5811 func (PolicySpec_AIAgentHandling_EdgeConnectivity_ProxiesSSHPathSelectorClientName) FieldPath() *PolicySpecAIAgentHandlingEdgeConnectivityProxiesSSH_FieldTerminalPath { 5812 return &PolicySpecAIAgentHandlingEdgeConnectivityProxiesSSH_FieldTerminalPath{selector: PolicySpecAIAgentHandlingEdgeConnectivityProxiesSSH_FieldPathSelectorClientName} 5813 } 5814 5815 func (s PolicySpec_AIAgentHandling_EdgeConnectivity_ProxiesSSHPathSelectorClientName) WithValue(value string) *PolicySpecAIAgentHandlingEdgeConnectivityProxiesSSH_FieldTerminalPathValue { 5816 return s.FieldPath().WithIValue(value).(*PolicySpecAIAgentHandlingEdgeConnectivityProxiesSSH_FieldTerminalPathValue) 5817 } 5818 5819 func (s PolicySpec_AIAgentHandling_EdgeConnectivity_ProxiesSSHPathSelectorClientName) WithArrayOfValues(values []string) *PolicySpecAIAgentHandlingEdgeConnectivityProxiesSSH_FieldTerminalPathArrayOfValues { 5820 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecAIAgentHandlingEdgeConnectivityProxiesSSH_FieldTerminalPathArrayOfValues) 5821 } 5822 5823 type PolicySpec_AIAgentHandling_EdgeConnectivity_ProxiesSSHPathSelectorServiceName struct{} 5824 5825 func (PolicySpec_AIAgentHandling_EdgeConnectivity_ProxiesSSHPathSelectorServiceName) FieldPath() *PolicySpecAIAgentHandlingEdgeConnectivityProxiesSSH_FieldTerminalPath { 5826 return &PolicySpecAIAgentHandlingEdgeConnectivityProxiesSSH_FieldTerminalPath{selector: PolicySpecAIAgentHandlingEdgeConnectivityProxiesSSH_FieldPathSelectorServiceName} 5827 } 5828 5829 func (s PolicySpec_AIAgentHandling_EdgeConnectivity_ProxiesSSHPathSelectorServiceName) WithValue(value string) *PolicySpecAIAgentHandlingEdgeConnectivityProxiesSSH_FieldTerminalPathValue { 5830 return s.FieldPath().WithIValue(value).(*PolicySpecAIAgentHandlingEdgeConnectivityProxiesSSH_FieldTerminalPathValue) 5831 } 5832 5833 func (s PolicySpec_AIAgentHandling_EdgeConnectivity_ProxiesSSHPathSelectorServiceName) WithArrayOfValues(values []string) *PolicySpecAIAgentHandlingEdgeConnectivityProxiesSSH_FieldTerminalPathArrayOfValues { 5834 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecAIAgentHandlingEdgeConnectivityProxiesSSH_FieldTerminalPathArrayOfValues) 5835 } 5836 5837 type PolicySpecAIAgentHandlingEdgeConnectivityPodSSHFieldPathBuilder struct{} 5838 5839 func NewPolicySpecAIAgentHandlingEdgeConnectivityPodSSHFieldPathBuilder() PolicySpecAIAgentHandlingEdgeConnectivityPodSSHFieldPathBuilder { 5840 return PolicySpecAIAgentHandlingEdgeConnectivityPodSSHFieldPathBuilder{} 5841 } 5842 func (PolicySpecAIAgentHandlingEdgeConnectivityPodSSHFieldPathBuilder) ClientName() PolicySpec_AIAgentHandling_EdgeConnectivity_PodSSHPathSelectorClientName { 5843 return PolicySpec_AIAgentHandling_EdgeConnectivity_PodSSHPathSelectorClientName{} 5844 } 5845 func (PolicySpecAIAgentHandlingEdgeConnectivityPodSSHFieldPathBuilder) Username() PolicySpec_AIAgentHandling_EdgeConnectivity_PodSSHPathSelectorUsername { 5846 return PolicySpec_AIAgentHandling_EdgeConnectivity_PodSSHPathSelectorUsername{} 5847 } 5848 5849 type PolicySpec_AIAgentHandling_EdgeConnectivity_PodSSHPathSelectorClientName struct{} 5850 5851 func (PolicySpec_AIAgentHandling_EdgeConnectivity_PodSSHPathSelectorClientName) FieldPath() *PolicySpecAIAgentHandlingEdgeConnectivityPodSSH_FieldTerminalPath { 5852 return &PolicySpecAIAgentHandlingEdgeConnectivityPodSSH_FieldTerminalPath{selector: PolicySpecAIAgentHandlingEdgeConnectivityPodSSH_FieldPathSelectorClientName} 5853 } 5854 5855 func (s PolicySpec_AIAgentHandling_EdgeConnectivity_PodSSHPathSelectorClientName) WithValue(value string) *PolicySpecAIAgentHandlingEdgeConnectivityPodSSH_FieldTerminalPathValue { 5856 return s.FieldPath().WithIValue(value).(*PolicySpecAIAgentHandlingEdgeConnectivityPodSSH_FieldTerminalPathValue) 5857 } 5858 5859 func (s PolicySpec_AIAgentHandling_EdgeConnectivity_PodSSHPathSelectorClientName) WithArrayOfValues(values []string) *PolicySpecAIAgentHandlingEdgeConnectivityPodSSH_FieldTerminalPathArrayOfValues { 5860 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecAIAgentHandlingEdgeConnectivityPodSSH_FieldTerminalPathArrayOfValues) 5861 } 5862 5863 type PolicySpec_AIAgentHandling_EdgeConnectivity_PodSSHPathSelectorUsername struct{} 5864 5865 func (PolicySpec_AIAgentHandling_EdgeConnectivity_PodSSHPathSelectorUsername) FieldPath() *PolicySpecAIAgentHandlingEdgeConnectivityPodSSH_FieldTerminalPath { 5866 return &PolicySpecAIAgentHandlingEdgeConnectivityPodSSH_FieldTerminalPath{selector: PolicySpecAIAgentHandlingEdgeConnectivityPodSSH_FieldPathSelectorUsername} 5867 } 5868 5869 func (s PolicySpec_AIAgentHandling_EdgeConnectivity_PodSSHPathSelectorUsername) WithValue(value string) *PolicySpecAIAgentHandlingEdgeConnectivityPodSSH_FieldTerminalPathValue { 5870 return s.FieldPath().WithIValue(value).(*PolicySpecAIAgentHandlingEdgeConnectivityPodSSH_FieldTerminalPathValue) 5871 } 5872 5873 func (s PolicySpec_AIAgentHandling_EdgeConnectivity_PodSSHPathSelectorUsername) WithArrayOfValues(values []string) *PolicySpecAIAgentHandlingEdgeConnectivityPodSSH_FieldTerminalPathArrayOfValues { 5874 return s.FieldPath().WithIArrayOfValues(values).(*PolicySpecAIAgentHandlingEdgeConnectivityPodSSH_FieldTerminalPathArrayOfValues) 5875 } 5876 5877 type PolicySpecAIAgentHandlingRemediationFixInSSHFieldPathBuilder struct{} 5878 5879 func NewPolicySpecAIAgentHandlingRemediationFixInSSHFieldPathBuilder() PolicySpecAIAgentHandlingRemediationFixInSSHFieldPathBuilder { 5880 return PolicySpecAIAgentHandlingRemediationFixInSSHFieldPathBuilder{} 5881 } 5882 5883 type PolicySpecAIAgentHandlingRemediationRebootFieldPathBuilder struct{} 5884 5885 func NewPolicySpecAIAgentHandlingRemediationRebootFieldPathBuilder() PolicySpecAIAgentHandlingRemediationRebootFieldPathBuilder { 5886 return PolicySpecAIAgentHandlingRemediationRebootFieldPathBuilder{} 5887 } 5888 5889 type NotificationChannelSpecFieldPathBuilder struct{} 5890 5891 func NewNotificationChannelSpecFieldPathBuilder() NotificationChannelSpecFieldPathBuilder { 5892 return NotificationChannelSpecFieldPathBuilder{} 5893 } 5894 func (NotificationChannelSpecFieldPathBuilder) Enabled() NotificationChannelSpecPathSelectorEnabled { 5895 return NotificationChannelSpecPathSelectorEnabled{} 5896 } 5897 func (NotificationChannelSpecFieldPathBuilder) Type() NotificationChannelSpecPathSelectorType { 5898 return NotificationChannelSpecPathSelectorType{} 5899 } 5900 func (NotificationChannelSpecFieldPathBuilder) EnabledKinds() NotificationChannelSpecPathSelectorEnabledKinds { 5901 return NotificationChannelSpecPathSelectorEnabledKinds{} 5902 } 5903 func (NotificationChannelSpecFieldPathBuilder) Email() NotificationChannelSpecPathSelectorEmail { 5904 return NotificationChannelSpecPathSelectorEmail{} 5905 } 5906 func (NotificationChannelSpecFieldPathBuilder) Slack() NotificationChannelSpecPathSelectorSlack { 5907 return NotificationChannelSpecPathSelectorSlack{} 5908 } 5909 func (NotificationChannelSpecFieldPathBuilder) Webhook() NotificationChannelSpecPathSelectorWebhook { 5910 return NotificationChannelSpecPathSelectorWebhook{} 5911 } 5912 func (NotificationChannelSpecFieldPathBuilder) NotificationLanguageCode() NotificationChannelSpecPathSelectorNotificationLanguageCode { 5913 return NotificationChannelSpecPathSelectorNotificationLanguageCode{} 5914 } 5915 func (NotificationChannelSpecFieldPathBuilder) NotificationMask() NotificationChannelSpecPathSelectorNotificationMask { 5916 return NotificationChannelSpecPathSelectorNotificationMask{} 5917 } 5918 func (NotificationChannelSpecFieldPathBuilder) MaxAlertBodiesInMsg() NotificationChannelSpecPathSelectorMaxAlertBodiesInMsg { 5919 return NotificationChannelSpecPathSelectorMaxAlertBodiesInMsg{} 5920 } 5921 func (NotificationChannelSpecFieldPathBuilder) PutOnlyAlertsCounterWhenOverflowing() NotificationChannelSpecPathSelectorPutOnlyAlertsCounterWhenOverflowing { 5922 return NotificationChannelSpecPathSelectorPutOnlyAlertsCounterWhenOverflowing{} 5923 } 5924 5925 type NotificationChannelSpecPathSelectorEnabled struct{} 5926 5927 func (NotificationChannelSpecPathSelectorEnabled) FieldPath() *NotificationChannelSpec_FieldTerminalPath { 5928 return &NotificationChannelSpec_FieldTerminalPath{selector: NotificationChannelSpec_FieldPathSelectorEnabled} 5929 } 5930 5931 func (s NotificationChannelSpecPathSelectorEnabled) WithValue(value bool) *NotificationChannelSpec_FieldTerminalPathValue { 5932 return s.FieldPath().WithIValue(value).(*NotificationChannelSpec_FieldTerminalPathValue) 5933 } 5934 5935 func (s NotificationChannelSpecPathSelectorEnabled) WithArrayOfValues(values []bool) *NotificationChannelSpec_FieldTerminalPathArrayOfValues { 5936 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpec_FieldTerminalPathArrayOfValues) 5937 } 5938 5939 type NotificationChannelSpecPathSelectorType struct{} 5940 5941 func (NotificationChannelSpecPathSelectorType) FieldPath() *NotificationChannelSpec_FieldTerminalPath { 5942 return &NotificationChannelSpec_FieldTerminalPath{selector: NotificationChannelSpec_FieldPathSelectorType} 5943 } 5944 5945 func (s NotificationChannelSpecPathSelectorType) WithValue(value NotificationChannelSpec_Type) *NotificationChannelSpec_FieldTerminalPathValue { 5946 return s.FieldPath().WithIValue(value).(*NotificationChannelSpec_FieldTerminalPathValue) 5947 } 5948 5949 func (s NotificationChannelSpecPathSelectorType) WithArrayOfValues(values []NotificationChannelSpec_Type) *NotificationChannelSpec_FieldTerminalPathArrayOfValues { 5950 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpec_FieldTerminalPathArrayOfValues) 5951 } 5952 5953 type NotificationChannelSpecPathSelectorEnabledKinds struct{} 5954 5955 func (NotificationChannelSpecPathSelectorEnabledKinds) FieldPath() *NotificationChannelSpec_FieldTerminalPath { 5956 return &NotificationChannelSpec_FieldTerminalPath{selector: NotificationChannelSpec_FieldPathSelectorEnabledKinds} 5957 } 5958 5959 func (s NotificationChannelSpecPathSelectorEnabledKinds) WithValue(value []NotificationChannelSpec_EventKind) *NotificationChannelSpec_FieldTerminalPathValue { 5960 return s.FieldPath().WithIValue(value).(*NotificationChannelSpec_FieldTerminalPathValue) 5961 } 5962 5963 func (s NotificationChannelSpecPathSelectorEnabledKinds) WithArrayOfValues(values [][]NotificationChannelSpec_EventKind) *NotificationChannelSpec_FieldTerminalPathArrayOfValues { 5964 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpec_FieldTerminalPathArrayOfValues) 5965 } 5966 5967 func (s NotificationChannelSpecPathSelectorEnabledKinds) WithItemValue(value NotificationChannelSpec_EventKind) *NotificationChannelSpec_FieldTerminalPathArrayItemValue { 5968 return s.FieldPath().WithIArrayItemValue(value).(*NotificationChannelSpec_FieldTerminalPathArrayItemValue) 5969 } 5970 5971 type NotificationChannelSpecPathSelectorEmail struct{} 5972 5973 func (NotificationChannelSpecPathSelectorEmail) FieldPath() *NotificationChannelSpec_FieldTerminalPath { 5974 return &NotificationChannelSpec_FieldTerminalPath{selector: NotificationChannelSpec_FieldPathSelectorEmail} 5975 } 5976 5977 func (s NotificationChannelSpecPathSelectorEmail) WithValue(value *NotificationChannelSpec_Email) *NotificationChannelSpec_FieldTerminalPathValue { 5978 return s.FieldPath().WithIValue(value).(*NotificationChannelSpec_FieldTerminalPathValue) 5979 } 5980 5981 func (s NotificationChannelSpecPathSelectorEmail) WithArrayOfValues(values []*NotificationChannelSpec_Email) *NotificationChannelSpec_FieldTerminalPathArrayOfValues { 5982 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpec_FieldTerminalPathArrayOfValues) 5983 } 5984 5985 func (NotificationChannelSpecPathSelectorEmail) WithSubPath(subPath NotificationChannelSpecEmail_FieldPath) *NotificationChannelSpec_FieldSubPath { 5986 return &NotificationChannelSpec_FieldSubPath{selector: NotificationChannelSpec_FieldPathSelectorEmail, subPath: subPath} 5987 } 5988 5989 func (s NotificationChannelSpecPathSelectorEmail) WithSubValue(subPathValue NotificationChannelSpecEmail_FieldPathValue) *NotificationChannelSpec_FieldSubPathValue { 5990 return &NotificationChannelSpec_FieldSubPathValue{NotificationChannelSpec_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 5991 } 5992 5993 func (s NotificationChannelSpecPathSelectorEmail) WithSubArrayOfValues(subPathArrayOfValues NotificationChannelSpecEmail_FieldPathArrayOfValues) *NotificationChannelSpec_FieldSubPathArrayOfValues { 5994 return &NotificationChannelSpec_FieldSubPathArrayOfValues{NotificationChannelSpec_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 5995 } 5996 5997 func (s NotificationChannelSpecPathSelectorEmail) WithSubArrayItemValue(subPathArrayItemValue NotificationChannelSpecEmail_FieldPathArrayItemValue) *NotificationChannelSpec_FieldSubPathArrayItemValue { 5998 return &NotificationChannelSpec_FieldSubPathArrayItemValue{NotificationChannelSpec_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 5999 } 6000 6001 func (NotificationChannelSpecPathSelectorEmail) Addresses() NotificationChannelSpecPathSelectorEmailAddresses { 6002 return NotificationChannelSpecPathSelectorEmailAddresses{} 6003 } 6004 6005 type NotificationChannelSpecPathSelectorEmailAddresses struct{} 6006 6007 func (NotificationChannelSpecPathSelectorEmailAddresses) FieldPath() *NotificationChannelSpec_FieldSubPath { 6008 return &NotificationChannelSpec_FieldSubPath{ 6009 selector: NotificationChannelSpec_FieldPathSelectorEmail, 6010 subPath: NewNotificationChannelSpecEmailFieldPathBuilder().Addresses().FieldPath(), 6011 } 6012 } 6013 6014 func (s NotificationChannelSpecPathSelectorEmailAddresses) WithValue(value []string) *NotificationChannelSpec_FieldSubPathValue { 6015 return s.FieldPath().WithIValue(value).(*NotificationChannelSpec_FieldSubPathValue) 6016 } 6017 6018 func (s NotificationChannelSpecPathSelectorEmailAddresses) WithArrayOfValues(values [][]string) *NotificationChannelSpec_FieldSubPathArrayOfValues { 6019 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpec_FieldSubPathArrayOfValues) 6020 } 6021 6022 func (s NotificationChannelSpecPathSelectorEmailAddresses) WithItemValue(value string) *NotificationChannelSpec_FieldSubPathArrayItemValue { 6023 return s.FieldPath().WithIArrayItemValue(value).(*NotificationChannelSpec_FieldSubPathArrayItemValue) 6024 } 6025 6026 type NotificationChannelSpecPathSelectorSlack struct{} 6027 6028 func (NotificationChannelSpecPathSelectorSlack) FieldPath() *NotificationChannelSpec_FieldTerminalPath { 6029 return &NotificationChannelSpec_FieldTerminalPath{selector: NotificationChannelSpec_FieldPathSelectorSlack} 6030 } 6031 6032 func (s NotificationChannelSpecPathSelectorSlack) WithValue(value *NotificationChannelSpec_Slack) *NotificationChannelSpec_FieldTerminalPathValue { 6033 return s.FieldPath().WithIValue(value).(*NotificationChannelSpec_FieldTerminalPathValue) 6034 } 6035 6036 func (s NotificationChannelSpecPathSelectorSlack) WithArrayOfValues(values []*NotificationChannelSpec_Slack) *NotificationChannelSpec_FieldTerminalPathArrayOfValues { 6037 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpec_FieldTerminalPathArrayOfValues) 6038 } 6039 6040 func (NotificationChannelSpecPathSelectorSlack) WithSubPath(subPath NotificationChannelSpecSlack_FieldPath) *NotificationChannelSpec_FieldSubPath { 6041 return &NotificationChannelSpec_FieldSubPath{selector: NotificationChannelSpec_FieldPathSelectorSlack, subPath: subPath} 6042 } 6043 6044 func (s NotificationChannelSpecPathSelectorSlack) WithSubValue(subPathValue NotificationChannelSpecSlack_FieldPathValue) *NotificationChannelSpec_FieldSubPathValue { 6045 return &NotificationChannelSpec_FieldSubPathValue{NotificationChannelSpec_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 6046 } 6047 6048 func (s NotificationChannelSpecPathSelectorSlack) WithSubArrayOfValues(subPathArrayOfValues NotificationChannelSpecSlack_FieldPathArrayOfValues) *NotificationChannelSpec_FieldSubPathArrayOfValues { 6049 return &NotificationChannelSpec_FieldSubPathArrayOfValues{NotificationChannelSpec_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 6050 } 6051 6052 func (s NotificationChannelSpecPathSelectorSlack) WithSubArrayItemValue(subPathArrayItemValue NotificationChannelSpecSlack_FieldPathArrayItemValue) *NotificationChannelSpec_FieldSubPathArrayItemValue { 6053 return &NotificationChannelSpec_FieldSubPathArrayItemValue{NotificationChannelSpec_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 6054 } 6055 6056 func (NotificationChannelSpecPathSelectorSlack) IncomingWebhook() NotificationChannelSpecPathSelectorSlackIncomingWebhook { 6057 return NotificationChannelSpecPathSelectorSlackIncomingWebhook{} 6058 } 6059 6060 type NotificationChannelSpecPathSelectorSlackIncomingWebhook struct{} 6061 6062 func (NotificationChannelSpecPathSelectorSlackIncomingWebhook) FieldPath() *NotificationChannelSpec_FieldSubPath { 6063 return &NotificationChannelSpec_FieldSubPath{ 6064 selector: NotificationChannelSpec_FieldPathSelectorSlack, 6065 subPath: NewNotificationChannelSpecSlackFieldPathBuilder().IncomingWebhook().FieldPath(), 6066 } 6067 } 6068 6069 func (s NotificationChannelSpecPathSelectorSlackIncomingWebhook) WithValue(value string) *NotificationChannelSpec_FieldSubPathValue { 6070 return s.FieldPath().WithIValue(value).(*NotificationChannelSpec_FieldSubPathValue) 6071 } 6072 6073 func (s NotificationChannelSpecPathSelectorSlackIncomingWebhook) WithArrayOfValues(values []string) *NotificationChannelSpec_FieldSubPathArrayOfValues { 6074 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpec_FieldSubPathArrayOfValues) 6075 } 6076 6077 type NotificationChannelSpecPathSelectorWebhook struct{} 6078 6079 func (NotificationChannelSpecPathSelectorWebhook) FieldPath() *NotificationChannelSpec_FieldTerminalPath { 6080 return &NotificationChannelSpec_FieldTerminalPath{selector: NotificationChannelSpec_FieldPathSelectorWebhook} 6081 } 6082 6083 func (s NotificationChannelSpecPathSelectorWebhook) WithValue(value *NotificationChannelSpec_Webhook) *NotificationChannelSpec_FieldTerminalPathValue { 6084 return s.FieldPath().WithIValue(value).(*NotificationChannelSpec_FieldTerminalPathValue) 6085 } 6086 6087 func (s NotificationChannelSpecPathSelectorWebhook) WithArrayOfValues(values []*NotificationChannelSpec_Webhook) *NotificationChannelSpec_FieldTerminalPathArrayOfValues { 6088 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpec_FieldTerminalPathArrayOfValues) 6089 } 6090 6091 func (NotificationChannelSpecPathSelectorWebhook) WithSubPath(subPath NotificationChannelSpecWebhook_FieldPath) *NotificationChannelSpec_FieldSubPath { 6092 return &NotificationChannelSpec_FieldSubPath{selector: NotificationChannelSpec_FieldPathSelectorWebhook, subPath: subPath} 6093 } 6094 6095 func (s NotificationChannelSpecPathSelectorWebhook) WithSubValue(subPathValue NotificationChannelSpecWebhook_FieldPathValue) *NotificationChannelSpec_FieldSubPathValue { 6096 return &NotificationChannelSpec_FieldSubPathValue{NotificationChannelSpec_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 6097 } 6098 6099 func (s NotificationChannelSpecPathSelectorWebhook) WithSubArrayOfValues(subPathArrayOfValues NotificationChannelSpecWebhook_FieldPathArrayOfValues) *NotificationChannelSpec_FieldSubPathArrayOfValues { 6100 return &NotificationChannelSpec_FieldSubPathArrayOfValues{NotificationChannelSpec_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 6101 } 6102 6103 func (s NotificationChannelSpecPathSelectorWebhook) WithSubArrayItemValue(subPathArrayItemValue NotificationChannelSpecWebhook_FieldPathArrayItemValue) *NotificationChannelSpec_FieldSubPathArrayItemValue { 6104 return &NotificationChannelSpec_FieldSubPathArrayItemValue{NotificationChannelSpec_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 6105 } 6106 6107 func (NotificationChannelSpecPathSelectorWebhook) Url() NotificationChannelSpecPathSelectorWebhookUrl { 6108 return NotificationChannelSpecPathSelectorWebhookUrl{} 6109 } 6110 6111 func (NotificationChannelSpecPathSelectorWebhook) Headers() NotificationChannelSpecPathSelectorWebhookHeaders { 6112 return NotificationChannelSpecPathSelectorWebhookHeaders{} 6113 } 6114 6115 func (NotificationChannelSpecPathSelectorWebhook) MaxMessageSizeMb() NotificationChannelSpecPathSelectorWebhookMaxMessageSizeMb { 6116 return NotificationChannelSpecPathSelectorWebhookMaxMessageSizeMb{} 6117 } 6118 6119 type NotificationChannelSpecPathSelectorWebhookUrl struct{} 6120 6121 func (NotificationChannelSpecPathSelectorWebhookUrl) FieldPath() *NotificationChannelSpec_FieldSubPath { 6122 return &NotificationChannelSpec_FieldSubPath{ 6123 selector: NotificationChannelSpec_FieldPathSelectorWebhook, 6124 subPath: NewNotificationChannelSpecWebhookFieldPathBuilder().Url().FieldPath(), 6125 } 6126 } 6127 6128 func (s NotificationChannelSpecPathSelectorWebhookUrl) WithValue(value string) *NotificationChannelSpec_FieldSubPathValue { 6129 return s.FieldPath().WithIValue(value).(*NotificationChannelSpec_FieldSubPathValue) 6130 } 6131 6132 func (s NotificationChannelSpecPathSelectorWebhookUrl) WithArrayOfValues(values []string) *NotificationChannelSpec_FieldSubPathArrayOfValues { 6133 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpec_FieldSubPathArrayOfValues) 6134 } 6135 6136 type NotificationChannelSpecPathSelectorWebhookHeaders struct{} 6137 6138 func (NotificationChannelSpecPathSelectorWebhookHeaders) FieldPath() *NotificationChannelSpec_FieldSubPath { 6139 return &NotificationChannelSpec_FieldSubPath{ 6140 selector: NotificationChannelSpec_FieldPathSelectorWebhook, 6141 subPath: NewNotificationChannelSpecWebhookFieldPathBuilder().Headers().FieldPath(), 6142 } 6143 } 6144 6145 func (s NotificationChannelSpecPathSelectorWebhookHeaders) WithValue(value []*NotificationChannelSpec_Webhook_Header) *NotificationChannelSpec_FieldSubPathValue { 6146 return s.FieldPath().WithIValue(value).(*NotificationChannelSpec_FieldSubPathValue) 6147 } 6148 6149 func (s NotificationChannelSpecPathSelectorWebhookHeaders) WithArrayOfValues(values [][]*NotificationChannelSpec_Webhook_Header) *NotificationChannelSpec_FieldSubPathArrayOfValues { 6150 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpec_FieldSubPathArrayOfValues) 6151 } 6152 6153 func (s NotificationChannelSpecPathSelectorWebhookHeaders) WithItemValue(value *NotificationChannelSpec_Webhook_Header) *NotificationChannelSpec_FieldSubPathArrayItemValue { 6154 return s.FieldPath().WithIArrayItemValue(value).(*NotificationChannelSpec_FieldSubPathArrayItemValue) 6155 } 6156 6157 func (NotificationChannelSpecPathSelectorWebhookHeaders) Key() NotificationChannelSpecPathSelectorWebhookHeadersKey { 6158 return NotificationChannelSpecPathSelectorWebhookHeadersKey{} 6159 } 6160 6161 func (NotificationChannelSpecPathSelectorWebhookHeaders) Value() NotificationChannelSpecPathSelectorWebhookHeadersValue { 6162 return NotificationChannelSpecPathSelectorWebhookHeadersValue{} 6163 } 6164 6165 type NotificationChannelSpecPathSelectorWebhookHeadersKey struct{} 6166 6167 func (NotificationChannelSpecPathSelectorWebhookHeadersKey) FieldPath() *NotificationChannelSpec_FieldSubPath { 6168 return &NotificationChannelSpec_FieldSubPath{ 6169 selector: NotificationChannelSpec_FieldPathSelectorWebhook, 6170 subPath: NewNotificationChannelSpecWebhookFieldPathBuilder().Headers().Key().FieldPath(), 6171 } 6172 } 6173 6174 func (s NotificationChannelSpecPathSelectorWebhookHeadersKey) WithValue(value string) *NotificationChannelSpec_FieldSubPathValue { 6175 return s.FieldPath().WithIValue(value).(*NotificationChannelSpec_FieldSubPathValue) 6176 } 6177 6178 func (s NotificationChannelSpecPathSelectorWebhookHeadersKey) WithArrayOfValues(values []string) *NotificationChannelSpec_FieldSubPathArrayOfValues { 6179 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpec_FieldSubPathArrayOfValues) 6180 } 6181 6182 type NotificationChannelSpecPathSelectorWebhookHeadersValue struct{} 6183 6184 func (NotificationChannelSpecPathSelectorWebhookHeadersValue) FieldPath() *NotificationChannelSpec_FieldSubPath { 6185 return &NotificationChannelSpec_FieldSubPath{ 6186 selector: NotificationChannelSpec_FieldPathSelectorWebhook, 6187 subPath: NewNotificationChannelSpecWebhookFieldPathBuilder().Headers().Value().FieldPath(), 6188 } 6189 } 6190 6191 func (s NotificationChannelSpecPathSelectorWebhookHeadersValue) WithValue(value string) *NotificationChannelSpec_FieldSubPathValue { 6192 return s.FieldPath().WithIValue(value).(*NotificationChannelSpec_FieldSubPathValue) 6193 } 6194 6195 func (s NotificationChannelSpecPathSelectorWebhookHeadersValue) WithArrayOfValues(values []string) *NotificationChannelSpec_FieldSubPathArrayOfValues { 6196 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpec_FieldSubPathArrayOfValues) 6197 } 6198 6199 type NotificationChannelSpecPathSelectorWebhookMaxMessageSizeMb struct{} 6200 6201 func (NotificationChannelSpecPathSelectorWebhookMaxMessageSizeMb) FieldPath() *NotificationChannelSpec_FieldSubPath { 6202 return &NotificationChannelSpec_FieldSubPath{ 6203 selector: NotificationChannelSpec_FieldPathSelectorWebhook, 6204 subPath: NewNotificationChannelSpecWebhookFieldPathBuilder().MaxMessageSizeMb().FieldPath(), 6205 } 6206 } 6207 6208 func (s NotificationChannelSpecPathSelectorWebhookMaxMessageSizeMb) WithValue(value float64) *NotificationChannelSpec_FieldSubPathValue { 6209 return s.FieldPath().WithIValue(value).(*NotificationChannelSpec_FieldSubPathValue) 6210 } 6211 6212 func (s NotificationChannelSpecPathSelectorWebhookMaxMessageSizeMb) WithArrayOfValues(values []float64) *NotificationChannelSpec_FieldSubPathArrayOfValues { 6213 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpec_FieldSubPathArrayOfValues) 6214 } 6215 6216 type NotificationChannelSpecPathSelectorNotificationLanguageCode struct{} 6217 6218 func (NotificationChannelSpecPathSelectorNotificationLanguageCode) FieldPath() *NotificationChannelSpec_FieldTerminalPath { 6219 return &NotificationChannelSpec_FieldTerminalPath{selector: NotificationChannelSpec_FieldPathSelectorNotificationLanguageCode} 6220 } 6221 6222 func (s NotificationChannelSpecPathSelectorNotificationLanguageCode) WithValue(value string) *NotificationChannelSpec_FieldTerminalPathValue { 6223 return s.FieldPath().WithIValue(value).(*NotificationChannelSpec_FieldTerminalPathValue) 6224 } 6225 6226 func (s NotificationChannelSpecPathSelectorNotificationLanguageCode) WithArrayOfValues(values []string) *NotificationChannelSpec_FieldTerminalPathArrayOfValues { 6227 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpec_FieldTerminalPathArrayOfValues) 6228 } 6229 6230 type NotificationChannelSpecPathSelectorNotificationMask struct{} 6231 6232 func (NotificationChannelSpecPathSelectorNotificationMask) FieldPath() *NotificationChannelSpec_FieldTerminalPath { 6233 return &NotificationChannelSpec_FieldTerminalPath{selector: NotificationChannelSpec_FieldPathSelectorNotificationMask} 6234 } 6235 6236 func (s NotificationChannelSpecPathSelectorNotificationMask) WithValue(value *fieldmaskpb.FieldMask) *NotificationChannelSpec_FieldTerminalPathValue { 6237 return s.FieldPath().WithIValue(value).(*NotificationChannelSpec_FieldTerminalPathValue) 6238 } 6239 6240 func (s NotificationChannelSpecPathSelectorNotificationMask) WithArrayOfValues(values []*fieldmaskpb.FieldMask) *NotificationChannelSpec_FieldTerminalPathArrayOfValues { 6241 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpec_FieldTerminalPathArrayOfValues) 6242 } 6243 6244 type NotificationChannelSpecPathSelectorMaxAlertBodiesInMsg struct{} 6245 6246 func (NotificationChannelSpecPathSelectorMaxAlertBodiesInMsg) FieldPath() *NotificationChannelSpec_FieldTerminalPath { 6247 return &NotificationChannelSpec_FieldTerminalPath{selector: NotificationChannelSpec_FieldPathSelectorMaxAlertBodiesInMsg} 6248 } 6249 6250 func (s NotificationChannelSpecPathSelectorMaxAlertBodiesInMsg) WithValue(value int32) *NotificationChannelSpec_FieldTerminalPathValue { 6251 return s.FieldPath().WithIValue(value).(*NotificationChannelSpec_FieldTerminalPathValue) 6252 } 6253 6254 func (s NotificationChannelSpecPathSelectorMaxAlertBodiesInMsg) WithArrayOfValues(values []int32) *NotificationChannelSpec_FieldTerminalPathArrayOfValues { 6255 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpec_FieldTerminalPathArrayOfValues) 6256 } 6257 6258 type NotificationChannelSpecPathSelectorPutOnlyAlertsCounterWhenOverflowing struct{} 6259 6260 func (NotificationChannelSpecPathSelectorPutOnlyAlertsCounterWhenOverflowing) FieldPath() *NotificationChannelSpec_FieldTerminalPath { 6261 return &NotificationChannelSpec_FieldTerminalPath{selector: NotificationChannelSpec_FieldPathSelectorPutOnlyAlertsCounterWhenOverflowing} 6262 } 6263 6264 func (s NotificationChannelSpecPathSelectorPutOnlyAlertsCounterWhenOverflowing) WithValue(value bool) *NotificationChannelSpec_FieldTerminalPathValue { 6265 return s.FieldPath().WithIValue(value).(*NotificationChannelSpec_FieldTerminalPathValue) 6266 } 6267 6268 func (s NotificationChannelSpecPathSelectorPutOnlyAlertsCounterWhenOverflowing) WithArrayOfValues(values []bool) *NotificationChannelSpec_FieldTerminalPathArrayOfValues { 6269 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpec_FieldTerminalPathArrayOfValues) 6270 } 6271 6272 type NotificationChannelSpecEmailFieldPathBuilder struct{} 6273 6274 func NewNotificationChannelSpecEmailFieldPathBuilder() NotificationChannelSpecEmailFieldPathBuilder { 6275 return NotificationChannelSpecEmailFieldPathBuilder{} 6276 } 6277 func (NotificationChannelSpecEmailFieldPathBuilder) Addresses() NotificationChannelSpec_EmailPathSelectorAddresses { 6278 return NotificationChannelSpec_EmailPathSelectorAddresses{} 6279 } 6280 6281 type NotificationChannelSpec_EmailPathSelectorAddresses struct{} 6282 6283 func (NotificationChannelSpec_EmailPathSelectorAddresses) FieldPath() *NotificationChannelSpecEmail_FieldTerminalPath { 6284 return &NotificationChannelSpecEmail_FieldTerminalPath{selector: NotificationChannelSpecEmail_FieldPathSelectorAddresses} 6285 } 6286 6287 func (s NotificationChannelSpec_EmailPathSelectorAddresses) WithValue(value []string) *NotificationChannelSpecEmail_FieldTerminalPathValue { 6288 return s.FieldPath().WithIValue(value).(*NotificationChannelSpecEmail_FieldTerminalPathValue) 6289 } 6290 6291 func (s NotificationChannelSpec_EmailPathSelectorAddresses) WithArrayOfValues(values [][]string) *NotificationChannelSpecEmail_FieldTerminalPathArrayOfValues { 6292 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpecEmail_FieldTerminalPathArrayOfValues) 6293 } 6294 6295 func (s NotificationChannelSpec_EmailPathSelectorAddresses) WithItemValue(value string) *NotificationChannelSpecEmail_FieldTerminalPathArrayItemValue { 6296 return s.FieldPath().WithIArrayItemValue(value).(*NotificationChannelSpecEmail_FieldTerminalPathArrayItemValue) 6297 } 6298 6299 type NotificationChannelSpecSlackFieldPathBuilder struct{} 6300 6301 func NewNotificationChannelSpecSlackFieldPathBuilder() NotificationChannelSpecSlackFieldPathBuilder { 6302 return NotificationChannelSpecSlackFieldPathBuilder{} 6303 } 6304 func (NotificationChannelSpecSlackFieldPathBuilder) IncomingWebhook() NotificationChannelSpec_SlackPathSelectorIncomingWebhook { 6305 return NotificationChannelSpec_SlackPathSelectorIncomingWebhook{} 6306 } 6307 6308 type NotificationChannelSpec_SlackPathSelectorIncomingWebhook struct{} 6309 6310 func (NotificationChannelSpec_SlackPathSelectorIncomingWebhook) FieldPath() *NotificationChannelSpecSlack_FieldTerminalPath { 6311 return &NotificationChannelSpecSlack_FieldTerminalPath{selector: NotificationChannelSpecSlack_FieldPathSelectorIncomingWebhook} 6312 } 6313 6314 func (s NotificationChannelSpec_SlackPathSelectorIncomingWebhook) WithValue(value string) *NotificationChannelSpecSlack_FieldTerminalPathValue { 6315 return s.FieldPath().WithIValue(value).(*NotificationChannelSpecSlack_FieldTerminalPathValue) 6316 } 6317 6318 func (s NotificationChannelSpec_SlackPathSelectorIncomingWebhook) WithArrayOfValues(values []string) *NotificationChannelSpecSlack_FieldTerminalPathArrayOfValues { 6319 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpecSlack_FieldTerminalPathArrayOfValues) 6320 } 6321 6322 type NotificationChannelSpecPagerDutyFieldPathBuilder struct{} 6323 6324 func NewNotificationChannelSpecPagerDutyFieldPathBuilder() NotificationChannelSpecPagerDutyFieldPathBuilder { 6325 return NotificationChannelSpecPagerDutyFieldPathBuilder{} 6326 } 6327 func (NotificationChannelSpecPagerDutyFieldPathBuilder) ServiceKey() NotificationChannelSpec_PagerDutyPathSelectorServiceKey { 6328 return NotificationChannelSpec_PagerDutyPathSelectorServiceKey{} 6329 } 6330 6331 type NotificationChannelSpec_PagerDutyPathSelectorServiceKey struct{} 6332 6333 func (NotificationChannelSpec_PagerDutyPathSelectorServiceKey) FieldPath() *NotificationChannelSpecPagerDuty_FieldTerminalPath { 6334 return &NotificationChannelSpecPagerDuty_FieldTerminalPath{selector: NotificationChannelSpecPagerDuty_FieldPathSelectorServiceKey} 6335 } 6336 6337 func (s NotificationChannelSpec_PagerDutyPathSelectorServiceKey) WithValue(value string) *NotificationChannelSpecPagerDuty_FieldTerminalPathValue { 6338 return s.FieldPath().WithIValue(value).(*NotificationChannelSpecPagerDuty_FieldTerminalPathValue) 6339 } 6340 6341 func (s NotificationChannelSpec_PagerDutyPathSelectorServiceKey) WithArrayOfValues(values []string) *NotificationChannelSpecPagerDuty_FieldTerminalPathArrayOfValues { 6342 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpecPagerDuty_FieldTerminalPathArrayOfValues) 6343 } 6344 6345 type NotificationChannelSpecWebhookFieldPathBuilder struct{} 6346 6347 func NewNotificationChannelSpecWebhookFieldPathBuilder() NotificationChannelSpecWebhookFieldPathBuilder { 6348 return NotificationChannelSpecWebhookFieldPathBuilder{} 6349 } 6350 func (NotificationChannelSpecWebhookFieldPathBuilder) Url() NotificationChannelSpec_WebhookPathSelectorUrl { 6351 return NotificationChannelSpec_WebhookPathSelectorUrl{} 6352 } 6353 func (NotificationChannelSpecWebhookFieldPathBuilder) Headers() NotificationChannelSpec_WebhookPathSelectorHeaders { 6354 return NotificationChannelSpec_WebhookPathSelectorHeaders{} 6355 } 6356 func (NotificationChannelSpecWebhookFieldPathBuilder) MaxMessageSizeMb() NotificationChannelSpec_WebhookPathSelectorMaxMessageSizeMb { 6357 return NotificationChannelSpec_WebhookPathSelectorMaxMessageSizeMb{} 6358 } 6359 6360 type NotificationChannelSpec_WebhookPathSelectorUrl struct{} 6361 6362 func (NotificationChannelSpec_WebhookPathSelectorUrl) FieldPath() *NotificationChannelSpecWebhook_FieldTerminalPath { 6363 return &NotificationChannelSpecWebhook_FieldTerminalPath{selector: NotificationChannelSpecWebhook_FieldPathSelectorUrl} 6364 } 6365 6366 func (s NotificationChannelSpec_WebhookPathSelectorUrl) WithValue(value string) *NotificationChannelSpecWebhook_FieldTerminalPathValue { 6367 return s.FieldPath().WithIValue(value).(*NotificationChannelSpecWebhook_FieldTerminalPathValue) 6368 } 6369 6370 func (s NotificationChannelSpec_WebhookPathSelectorUrl) WithArrayOfValues(values []string) *NotificationChannelSpecWebhook_FieldTerminalPathArrayOfValues { 6371 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpecWebhook_FieldTerminalPathArrayOfValues) 6372 } 6373 6374 type NotificationChannelSpec_WebhookPathSelectorHeaders struct{} 6375 6376 func (NotificationChannelSpec_WebhookPathSelectorHeaders) FieldPath() *NotificationChannelSpecWebhook_FieldTerminalPath { 6377 return &NotificationChannelSpecWebhook_FieldTerminalPath{selector: NotificationChannelSpecWebhook_FieldPathSelectorHeaders} 6378 } 6379 6380 func (s NotificationChannelSpec_WebhookPathSelectorHeaders) WithValue(value []*NotificationChannelSpec_Webhook_Header) *NotificationChannelSpecWebhook_FieldTerminalPathValue { 6381 return s.FieldPath().WithIValue(value).(*NotificationChannelSpecWebhook_FieldTerminalPathValue) 6382 } 6383 6384 func (s NotificationChannelSpec_WebhookPathSelectorHeaders) WithArrayOfValues(values [][]*NotificationChannelSpec_Webhook_Header) *NotificationChannelSpecWebhook_FieldTerminalPathArrayOfValues { 6385 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpecWebhook_FieldTerminalPathArrayOfValues) 6386 } 6387 6388 func (s NotificationChannelSpec_WebhookPathSelectorHeaders) WithItemValue(value *NotificationChannelSpec_Webhook_Header) *NotificationChannelSpecWebhook_FieldTerminalPathArrayItemValue { 6389 return s.FieldPath().WithIArrayItemValue(value).(*NotificationChannelSpecWebhook_FieldTerminalPathArrayItemValue) 6390 } 6391 func (NotificationChannelSpec_WebhookPathSelectorHeaders) WithSubPath(subPath NotificationChannelSpecWebhookHeader_FieldPath) *NotificationChannelSpecWebhook_FieldSubPath { 6392 return &NotificationChannelSpecWebhook_FieldSubPath{selector: NotificationChannelSpecWebhook_FieldPathSelectorHeaders, subPath: subPath} 6393 } 6394 6395 func (s NotificationChannelSpec_WebhookPathSelectorHeaders) WithSubValue(subPathValue NotificationChannelSpecWebhookHeader_FieldPathValue) *NotificationChannelSpecWebhook_FieldSubPathValue { 6396 return &NotificationChannelSpecWebhook_FieldSubPathValue{NotificationChannelSpecWebhook_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 6397 } 6398 6399 func (s NotificationChannelSpec_WebhookPathSelectorHeaders) WithSubArrayOfValues(subPathArrayOfValues NotificationChannelSpecWebhookHeader_FieldPathArrayOfValues) *NotificationChannelSpecWebhook_FieldSubPathArrayOfValues { 6400 return &NotificationChannelSpecWebhook_FieldSubPathArrayOfValues{NotificationChannelSpecWebhook_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 6401 } 6402 6403 func (s NotificationChannelSpec_WebhookPathSelectorHeaders) WithSubArrayItemValue(subPathArrayItemValue NotificationChannelSpecWebhookHeader_FieldPathArrayItemValue) *NotificationChannelSpecWebhook_FieldSubPathArrayItemValue { 6404 return &NotificationChannelSpecWebhook_FieldSubPathArrayItemValue{NotificationChannelSpecWebhook_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 6405 } 6406 6407 func (NotificationChannelSpec_WebhookPathSelectorHeaders) Key() NotificationChannelSpec_WebhookPathSelectorHeadersKey { 6408 return NotificationChannelSpec_WebhookPathSelectorHeadersKey{} 6409 } 6410 6411 func (NotificationChannelSpec_WebhookPathSelectorHeaders) Value() NotificationChannelSpec_WebhookPathSelectorHeadersValue { 6412 return NotificationChannelSpec_WebhookPathSelectorHeadersValue{} 6413 } 6414 6415 type NotificationChannelSpec_WebhookPathSelectorHeadersKey struct{} 6416 6417 func (NotificationChannelSpec_WebhookPathSelectorHeadersKey) FieldPath() *NotificationChannelSpecWebhook_FieldSubPath { 6418 return &NotificationChannelSpecWebhook_FieldSubPath{ 6419 selector: NotificationChannelSpecWebhook_FieldPathSelectorHeaders, 6420 subPath: NewNotificationChannelSpecWebhookHeaderFieldPathBuilder().Key().FieldPath(), 6421 } 6422 } 6423 6424 func (s NotificationChannelSpec_WebhookPathSelectorHeadersKey) WithValue(value string) *NotificationChannelSpecWebhook_FieldSubPathValue { 6425 return s.FieldPath().WithIValue(value).(*NotificationChannelSpecWebhook_FieldSubPathValue) 6426 } 6427 6428 func (s NotificationChannelSpec_WebhookPathSelectorHeadersKey) WithArrayOfValues(values []string) *NotificationChannelSpecWebhook_FieldSubPathArrayOfValues { 6429 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpecWebhook_FieldSubPathArrayOfValues) 6430 } 6431 6432 type NotificationChannelSpec_WebhookPathSelectorHeadersValue struct{} 6433 6434 func (NotificationChannelSpec_WebhookPathSelectorHeadersValue) FieldPath() *NotificationChannelSpecWebhook_FieldSubPath { 6435 return &NotificationChannelSpecWebhook_FieldSubPath{ 6436 selector: NotificationChannelSpecWebhook_FieldPathSelectorHeaders, 6437 subPath: NewNotificationChannelSpecWebhookHeaderFieldPathBuilder().Value().FieldPath(), 6438 } 6439 } 6440 6441 func (s NotificationChannelSpec_WebhookPathSelectorHeadersValue) WithValue(value string) *NotificationChannelSpecWebhook_FieldSubPathValue { 6442 return s.FieldPath().WithIValue(value).(*NotificationChannelSpecWebhook_FieldSubPathValue) 6443 } 6444 6445 func (s NotificationChannelSpec_WebhookPathSelectorHeadersValue) WithArrayOfValues(values []string) *NotificationChannelSpecWebhook_FieldSubPathArrayOfValues { 6446 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpecWebhook_FieldSubPathArrayOfValues) 6447 } 6448 6449 type NotificationChannelSpec_WebhookPathSelectorMaxMessageSizeMb struct{} 6450 6451 func (NotificationChannelSpec_WebhookPathSelectorMaxMessageSizeMb) FieldPath() *NotificationChannelSpecWebhook_FieldTerminalPath { 6452 return &NotificationChannelSpecWebhook_FieldTerminalPath{selector: NotificationChannelSpecWebhook_FieldPathSelectorMaxMessageSizeMb} 6453 } 6454 6455 func (s NotificationChannelSpec_WebhookPathSelectorMaxMessageSizeMb) WithValue(value float64) *NotificationChannelSpecWebhook_FieldTerminalPathValue { 6456 return s.FieldPath().WithIValue(value).(*NotificationChannelSpecWebhook_FieldTerminalPathValue) 6457 } 6458 6459 func (s NotificationChannelSpec_WebhookPathSelectorMaxMessageSizeMb) WithArrayOfValues(values []float64) *NotificationChannelSpecWebhook_FieldTerminalPathArrayOfValues { 6460 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpecWebhook_FieldTerminalPathArrayOfValues) 6461 } 6462 6463 type NotificationChannelSpecWebhookHeaderFieldPathBuilder struct{} 6464 6465 func NewNotificationChannelSpecWebhookHeaderFieldPathBuilder() NotificationChannelSpecWebhookHeaderFieldPathBuilder { 6466 return NotificationChannelSpecWebhookHeaderFieldPathBuilder{} 6467 } 6468 func (NotificationChannelSpecWebhookHeaderFieldPathBuilder) Key() NotificationChannelSpec_Webhook_HeaderPathSelectorKey { 6469 return NotificationChannelSpec_Webhook_HeaderPathSelectorKey{} 6470 } 6471 func (NotificationChannelSpecWebhookHeaderFieldPathBuilder) Value() NotificationChannelSpec_Webhook_HeaderPathSelectorValue { 6472 return NotificationChannelSpec_Webhook_HeaderPathSelectorValue{} 6473 } 6474 6475 type NotificationChannelSpec_Webhook_HeaderPathSelectorKey struct{} 6476 6477 func (NotificationChannelSpec_Webhook_HeaderPathSelectorKey) FieldPath() *NotificationChannelSpecWebhookHeader_FieldTerminalPath { 6478 return &NotificationChannelSpecWebhookHeader_FieldTerminalPath{selector: NotificationChannelSpecWebhookHeader_FieldPathSelectorKey} 6479 } 6480 6481 func (s NotificationChannelSpec_Webhook_HeaderPathSelectorKey) WithValue(value string) *NotificationChannelSpecWebhookHeader_FieldTerminalPathValue { 6482 return s.FieldPath().WithIValue(value).(*NotificationChannelSpecWebhookHeader_FieldTerminalPathValue) 6483 } 6484 6485 func (s NotificationChannelSpec_Webhook_HeaderPathSelectorKey) WithArrayOfValues(values []string) *NotificationChannelSpecWebhookHeader_FieldTerminalPathArrayOfValues { 6486 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpecWebhookHeader_FieldTerminalPathArrayOfValues) 6487 } 6488 6489 type NotificationChannelSpec_Webhook_HeaderPathSelectorValue struct{} 6490 6491 func (NotificationChannelSpec_Webhook_HeaderPathSelectorValue) FieldPath() *NotificationChannelSpecWebhookHeader_FieldTerminalPath { 6492 return &NotificationChannelSpecWebhookHeader_FieldTerminalPath{selector: NotificationChannelSpecWebhookHeader_FieldPathSelectorValue} 6493 } 6494 6495 func (s NotificationChannelSpec_Webhook_HeaderPathSelectorValue) WithValue(value string) *NotificationChannelSpecWebhookHeader_FieldTerminalPathValue { 6496 return s.FieldPath().WithIValue(value).(*NotificationChannelSpecWebhookHeader_FieldTerminalPathValue) 6497 } 6498 6499 func (s NotificationChannelSpec_Webhook_HeaderPathSelectorValue) WithArrayOfValues(values []string) *NotificationChannelSpecWebhookHeader_FieldTerminalPathArrayOfValues { 6500 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpecWebhookHeader_FieldTerminalPathArrayOfValues) 6501 } 6502 6503 type AlertingThresholdFieldPathBuilder struct{} 6504 6505 func NewAlertingThresholdFieldPathBuilder() AlertingThresholdFieldPathBuilder { 6506 return AlertingThresholdFieldPathBuilder{} 6507 } 6508 func (AlertingThresholdFieldPathBuilder) Value() AlertingThresholdPathSelectorValue { 6509 return AlertingThresholdPathSelectorValue{} 6510 } 6511 func (AlertingThresholdFieldPathBuilder) IsInclusive() AlertingThresholdPathSelectorIsInclusive { 6512 return AlertingThresholdPathSelectorIsInclusive{} 6513 } 6514 6515 type AlertingThresholdPathSelectorValue struct{} 6516 6517 func (AlertingThresholdPathSelectorValue) FieldPath() *AlertingThreshold_FieldTerminalPath { 6518 return &AlertingThreshold_FieldTerminalPath{selector: AlertingThreshold_FieldPathSelectorValue} 6519 } 6520 6521 func (s AlertingThresholdPathSelectorValue) WithValue(value float64) *AlertingThreshold_FieldTerminalPathValue { 6522 return s.FieldPath().WithIValue(value).(*AlertingThreshold_FieldTerminalPathValue) 6523 } 6524 6525 func (s AlertingThresholdPathSelectorValue) WithArrayOfValues(values []float64) *AlertingThreshold_FieldTerminalPathArrayOfValues { 6526 return s.FieldPath().WithIArrayOfValues(values).(*AlertingThreshold_FieldTerminalPathArrayOfValues) 6527 } 6528 6529 type AlertingThresholdPathSelectorIsInclusive struct{} 6530 6531 func (AlertingThresholdPathSelectorIsInclusive) FieldPath() *AlertingThreshold_FieldTerminalPath { 6532 return &AlertingThreshold_FieldTerminalPath{selector: AlertingThreshold_FieldPathSelectorIsInclusive} 6533 } 6534 6535 func (s AlertingThresholdPathSelectorIsInclusive) WithValue(value bool) *AlertingThreshold_FieldTerminalPathValue { 6536 return s.FieldPath().WithIValue(value).(*AlertingThreshold_FieldTerminalPathValue) 6537 } 6538 6539 func (s AlertingThresholdPathSelectorIsInclusive) WithArrayOfValues(values []bool) *AlertingThreshold_FieldTerminalPathArrayOfValues { 6540 return s.FieldPath().WithIArrayOfValues(values).(*AlertingThreshold_FieldTerminalPathArrayOfValues) 6541 }