github.com/cloudwan/edgelq-sdk@v1.15.4/alerting/resources/v1/log_condition_template/log_condition_template.pb.fieldpathbuilder.go (about) 1 // Code generated by protoc-gen-goten-object 2 // File: edgelq/alerting/proto/v1/log_condition_template.proto 3 // DO NOT EDIT!!! 4 5 package log_condition_template 6 7 // proto imports 8 import ( 9 rcommon "github.com/cloudwan/edgelq-sdk/alerting/resources/v1/common" 10 document "github.com/cloudwan/edgelq-sdk/alerting/resources/v1/document" 11 policy_template "github.com/cloudwan/edgelq-sdk/alerting/resources/v1/policy_template" 12 api "github.com/cloudwan/edgelq-sdk/common/api" 13 iam_iam_common "github.com/cloudwan/edgelq-sdk/iam/resources/v1/common" 14 iam_organization "github.com/cloudwan/edgelq-sdk/iam/resources/v1/organization" 15 iam_project "github.com/cloudwan/edgelq-sdk/iam/resources/v1/project" 16 logging_bucket "github.com/cloudwan/edgelq-sdk/logging/resources/v1/bucket" 17 logging_common "github.com/cloudwan/edgelq-sdk/logging/resources/v1/common" 18 logging_log "github.com/cloudwan/edgelq-sdk/logging/resources/v1/log" 19 logging_log_descriptor "github.com/cloudwan/edgelq-sdk/logging/resources/v1/log_descriptor" 20 monitoring_common "github.com/cloudwan/edgelq-sdk/monitoring/resources/v4/common" 21 monitoring_metric_descriptor "github.com/cloudwan/edgelq-sdk/monitoring/resources/v4/metric_descriptor" 22 monitoring_monitored_resource_descriptor "github.com/cloudwan/edgelq-sdk/monitoring/resources/v4/monitored_resource_descriptor" 23 monitoring_project "github.com/cloudwan/edgelq-sdk/monitoring/resources/v4/project" 24 monitoring_time_serie "github.com/cloudwan/edgelq-sdk/monitoring/resources/v4/time_serie" 25 meta_common "github.com/cloudwan/goten-sdk/meta-service/resources/v1/common" 26 meta_resource "github.com/cloudwan/goten-sdk/meta-service/resources/v1/resource" 27 meta_service "github.com/cloudwan/goten-sdk/meta-service/resources/v1/service" 28 meta "github.com/cloudwan/goten-sdk/types/meta" 29 multi_region_policy "github.com/cloudwan/goten-sdk/types/multi_region_policy" 30 anypb "google.golang.org/protobuf/types/known/anypb" 31 durationpb "google.golang.org/protobuf/types/known/durationpb" 32 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" 33 structpb "google.golang.org/protobuf/types/known/structpb" 34 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 35 ) 36 37 // make sure we're using proto imports 38 var ( 39 _ = &document.Document{} 40 _ = &policy_template.PolicyTemplate{} 41 _ = &rcommon.LogCndSpec{} 42 _ = api.LaunchStage(0) 43 _ = &iam_iam_common.PCR{} 44 _ = &iam_organization.Organization{} 45 _ = &iam_project.Project{} 46 _ = &logging_bucket.Bucket{} 47 _ = &logging_common.LabelDescriptor{} 48 _ = &logging_log.Log{} 49 _ = &logging_log_descriptor.LogDescriptor{} 50 _ = &monitoring_common.LabelDescriptor{} 51 _ = &monitoring_metric_descriptor.MetricDescriptor{} 52 _ = &monitoring_monitored_resource_descriptor.MonitoredResourceDescriptor{} 53 _ = &monitoring_project.Project{} 54 _ = &monitoring_time_serie.Point{} 55 _ = &anypb.Any{} 56 _ = &durationpb.Duration{} 57 _ = &fieldmaskpb.FieldMask{} 58 _ = &structpb.Struct{} 59 _ = ×tamppb.Timestamp{} 60 _ = &meta_common.LabelledDomain{} 61 _ = &meta_resource.Resource{} 62 _ = &meta_service.Service{} 63 _ = &meta.Meta{} 64 _ = &multi_region_policy.MultiRegionPolicy{} 65 ) 66 67 type LogConditionTemplateFieldPathBuilder struct{} 68 69 func NewLogConditionTemplateFieldPathBuilder() LogConditionTemplateFieldPathBuilder { 70 return LogConditionTemplateFieldPathBuilder{} 71 } 72 func (LogConditionTemplateFieldPathBuilder) Name() LogConditionTemplatePathSelectorName { 73 return LogConditionTemplatePathSelectorName{} 74 } 75 func (LogConditionTemplateFieldPathBuilder) Metadata() LogConditionTemplatePathSelectorMetadata { 76 return LogConditionTemplatePathSelectorMetadata{} 77 } 78 func (LogConditionTemplateFieldPathBuilder) DisplayName() LogConditionTemplatePathSelectorDisplayName { 79 return LogConditionTemplatePathSelectorDisplayName{} 80 } 81 func (LogConditionTemplateFieldPathBuilder) Description() LogConditionTemplatePathSelectorDescription { 82 return LogConditionTemplatePathSelectorDescription{} 83 } 84 func (LogConditionTemplateFieldPathBuilder) SupportingDocs() LogConditionTemplatePathSelectorSupportingDocs { 85 return LogConditionTemplatePathSelectorSupportingDocs{} 86 } 87 func (LogConditionTemplateFieldPathBuilder) SpecTemplate() LogConditionTemplatePathSelectorSpecTemplate { 88 return LogConditionTemplatePathSelectorSpecTemplate{} 89 } 90 91 type LogConditionTemplatePathSelectorName struct{} 92 93 func (LogConditionTemplatePathSelectorName) FieldPath() *LogConditionTemplate_FieldTerminalPath { 94 return &LogConditionTemplate_FieldTerminalPath{selector: LogConditionTemplate_FieldPathSelectorName} 95 } 96 97 func (s LogConditionTemplatePathSelectorName) WithValue(value *Name) *LogConditionTemplate_FieldTerminalPathValue { 98 return s.FieldPath().WithIValue(value).(*LogConditionTemplate_FieldTerminalPathValue) 99 } 100 101 func (s LogConditionTemplatePathSelectorName) WithArrayOfValues(values []*Name) *LogConditionTemplate_FieldTerminalPathArrayOfValues { 102 return s.FieldPath().WithIArrayOfValues(values).(*LogConditionTemplate_FieldTerminalPathArrayOfValues) 103 } 104 105 type LogConditionTemplatePathSelectorMetadata struct{} 106 107 func (LogConditionTemplatePathSelectorMetadata) FieldPath() *LogConditionTemplate_FieldTerminalPath { 108 return &LogConditionTemplate_FieldTerminalPath{selector: LogConditionTemplate_FieldPathSelectorMetadata} 109 } 110 111 func (s LogConditionTemplatePathSelectorMetadata) WithValue(value *meta.Meta) *LogConditionTemplate_FieldTerminalPathValue { 112 return s.FieldPath().WithIValue(value).(*LogConditionTemplate_FieldTerminalPathValue) 113 } 114 115 func (s LogConditionTemplatePathSelectorMetadata) WithArrayOfValues(values []*meta.Meta) *LogConditionTemplate_FieldTerminalPathArrayOfValues { 116 return s.FieldPath().WithIArrayOfValues(values).(*LogConditionTemplate_FieldTerminalPathArrayOfValues) 117 } 118 119 func (LogConditionTemplatePathSelectorMetadata) WithSubPath(subPath meta.Meta_FieldPath) *LogConditionTemplate_FieldSubPath { 120 return &LogConditionTemplate_FieldSubPath{selector: LogConditionTemplate_FieldPathSelectorMetadata, subPath: subPath} 121 } 122 123 func (s LogConditionTemplatePathSelectorMetadata) WithSubValue(subPathValue meta.Meta_FieldPathValue) *LogConditionTemplate_FieldSubPathValue { 124 return &LogConditionTemplate_FieldSubPathValue{LogConditionTemplate_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 125 } 126 127 func (s LogConditionTemplatePathSelectorMetadata) WithSubArrayOfValues(subPathArrayOfValues meta.Meta_FieldPathArrayOfValues) *LogConditionTemplate_FieldSubPathArrayOfValues { 128 return &LogConditionTemplate_FieldSubPathArrayOfValues{LogConditionTemplate_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 129 } 130 131 func (s LogConditionTemplatePathSelectorMetadata) WithSubArrayItemValue(subPathArrayItemValue meta.Meta_FieldPathArrayItemValue) *LogConditionTemplate_FieldSubPathArrayItemValue { 132 return &LogConditionTemplate_FieldSubPathArrayItemValue{LogConditionTemplate_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 133 } 134 135 func (LogConditionTemplatePathSelectorMetadata) CreateTime() LogConditionTemplatePathSelectorMetadataCreateTime { 136 return LogConditionTemplatePathSelectorMetadataCreateTime{} 137 } 138 139 func (LogConditionTemplatePathSelectorMetadata) UpdateTime() LogConditionTemplatePathSelectorMetadataUpdateTime { 140 return LogConditionTemplatePathSelectorMetadataUpdateTime{} 141 } 142 143 func (LogConditionTemplatePathSelectorMetadata) DeleteTime() LogConditionTemplatePathSelectorMetadataDeleteTime { 144 return LogConditionTemplatePathSelectorMetadataDeleteTime{} 145 } 146 147 func (LogConditionTemplatePathSelectorMetadata) Uuid() LogConditionTemplatePathSelectorMetadataUuid { 148 return LogConditionTemplatePathSelectorMetadataUuid{} 149 } 150 151 func (LogConditionTemplatePathSelectorMetadata) Tags() LogConditionTemplatePathSelectorMetadataTags { 152 return LogConditionTemplatePathSelectorMetadataTags{} 153 } 154 155 func (LogConditionTemplatePathSelectorMetadata) Labels() LogConditionTemplatePathSelectorMetadataLabels { 156 return LogConditionTemplatePathSelectorMetadataLabels{} 157 } 158 159 func (LogConditionTemplatePathSelectorMetadata) Annotations() LogConditionTemplatePathSelectorMetadataAnnotations { 160 return LogConditionTemplatePathSelectorMetadataAnnotations{} 161 } 162 163 func (LogConditionTemplatePathSelectorMetadata) Generation() LogConditionTemplatePathSelectorMetadataGeneration { 164 return LogConditionTemplatePathSelectorMetadataGeneration{} 165 } 166 167 func (LogConditionTemplatePathSelectorMetadata) ResourceVersion() LogConditionTemplatePathSelectorMetadataResourceVersion { 168 return LogConditionTemplatePathSelectorMetadataResourceVersion{} 169 } 170 171 func (LogConditionTemplatePathSelectorMetadata) OwnerReferences() LogConditionTemplatePathSelectorMetadataOwnerReferences { 172 return LogConditionTemplatePathSelectorMetadataOwnerReferences{} 173 } 174 175 func (LogConditionTemplatePathSelectorMetadata) Shards() LogConditionTemplatePathSelectorMetadataShards { 176 return LogConditionTemplatePathSelectorMetadataShards{} 177 } 178 179 func (LogConditionTemplatePathSelectorMetadata) Syncing() LogConditionTemplatePathSelectorMetadataSyncing { 180 return LogConditionTemplatePathSelectorMetadataSyncing{} 181 } 182 183 func (LogConditionTemplatePathSelectorMetadata) Lifecycle() LogConditionTemplatePathSelectorMetadataLifecycle { 184 return LogConditionTemplatePathSelectorMetadataLifecycle{} 185 } 186 187 func (LogConditionTemplatePathSelectorMetadata) Services() LogConditionTemplatePathSelectorMetadataServices { 188 return LogConditionTemplatePathSelectorMetadataServices{} 189 } 190 191 type LogConditionTemplatePathSelectorMetadataCreateTime struct{} 192 193 func (LogConditionTemplatePathSelectorMetadataCreateTime) FieldPath() *LogConditionTemplate_FieldSubPath { 194 return &LogConditionTemplate_FieldSubPath{ 195 selector: LogConditionTemplate_FieldPathSelectorMetadata, 196 subPath: meta.NewMetaFieldPathBuilder().CreateTime().FieldPath(), 197 } 198 } 199 200 func (s LogConditionTemplatePathSelectorMetadataCreateTime) WithValue(value *timestamppb.Timestamp) *LogConditionTemplate_FieldSubPathValue { 201 return s.FieldPath().WithIValue(value).(*LogConditionTemplate_FieldSubPathValue) 202 } 203 204 func (s LogConditionTemplatePathSelectorMetadataCreateTime) WithArrayOfValues(values []*timestamppb.Timestamp) *LogConditionTemplate_FieldSubPathArrayOfValues { 205 return s.FieldPath().WithIArrayOfValues(values).(*LogConditionTemplate_FieldSubPathArrayOfValues) 206 } 207 208 type LogConditionTemplatePathSelectorMetadataUpdateTime struct{} 209 210 func (LogConditionTemplatePathSelectorMetadataUpdateTime) FieldPath() *LogConditionTemplate_FieldSubPath { 211 return &LogConditionTemplate_FieldSubPath{ 212 selector: LogConditionTemplate_FieldPathSelectorMetadata, 213 subPath: meta.NewMetaFieldPathBuilder().UpdateTime().FieldPath(), 214 } 215 } 216 217 func (s LogConditionTemplatePathSelectorMetadataUpdateTime) WithValue(value *timestamppb.Timestamp) *LogConditionTemplate_FieldSubPathValue { 218 return s.FieldPath().WithIValue(value).(*LogConditionTemplate_FieldSubPathValue) 219 } 220 221 func (s LogConditionTemplatePathSelectorMetadataUpdateTime) WithArrayOfValues(values []*timestamppb.Timestamp) *LogConditionTemplate_FieldSubPathArrayOfValues { 222 return s.FieldPath().WithIArrayOfValues(values).(*LogConditionTemplate_FieldSubPathArrayOfValues) 223 } 224 225 type LogConditionTemplatePathSelectorMetadataDeleteTime struct{} 226 227 func (LogConditionTemplatePathSelectorMetadataDeleteTime) FieldPath() *LogConditionTemplate_FieldSubPath { 228 return &LogConditionTemplate_FieldSubPath{ 229 selector: LogConditionTemplate_FieldPathSelectorMetadata, 230 subPath: meta.NewMetaFieldPathBuilder().DeleteTime().FieldPath(), 231 } 232 } 233 234 func (s LogConditionTemplatePathSelectorMetadataDeleteTime) WithValue(value *timestamppb.Timestamp) *LogConditionTemplate_FieldSubPathValue { 235 return s.FieldPath().WithIValue(value).(*LogConditionTemplate_FieldSubPathValue) 236 } 237 238 func (s LogConditionTemplatePathSelectorMetadataDeleteTime) WithArrayOfValues(values []*timestamppb.Timestamp) *LogConditionTemplate_FieldSubPathArrayOfValues { 239 return s.FieldPath().WithIArrayOfValues(values).(*LogConditionTemplate_FieldSubPathArrayOfValues) 240 } 241 242 type LogConditionTemplatePathSelectorMetadataUuid struct{} 243 244 func (LogConditionTemplatePathSelectorMetadataUuid) FieldPath() *LogConditionTemplate_FieldSubPath { 245 return &LogConditionTemplate_FieldSubPath{ 246 selector: LogConditionTemplate_FieldPathSelectorMetadata, 247 subPath: meta.NewMetaFieldPathBuilder().Uuid().FieldPath(), 248 } 249 } 250 251 func (s LogConditionTemplatePathSelectorMetadataUuid) WithValue(value string) *LogConditionTemplate_FieldSubPathValue { 252 return s.FieldPath().WithIValue(value).(*LogConditionTemplate_FieldSubPathValue) 253 } 254 255 func (s LogConditionTemplatePathSelectorMetadataUuid) WithArrayOfValues(values []string) *LogConditionTemplate_FieldSubPathArrayOfValues { 256 return s.FieldPath().WithIArrayOfValues(values).(*LogConditionTemplate_FieldSubPathArrayOfValues) 257 } 258 259 type LogConditionTemplatePathSelectorMetadataTags struct{} 260 261 func (LogConditionTemplatePathSelectorMetadataTags) FieldPath() *LogConditionTemplate_FieldSubPath { 262 return &LogConditionTemplate_FieldSubPath{ 263 selector: LogConditionTemplate_FieldPathSelectorMetadata, 264 subPath: meta.NewMetaFieldPathBuilder().Tags().FieldPath(), 265 } 266 } 267 268 func (s LogConditionTemplatePathSelectorMetadataTags) WithValue(value []string) *LogConditionTemplate_FieldSubPathValue { 269 return s.FieldPath().WithIValue(value).(*LogConditionTemplate_FieldSubPathValue) 270 } 271 272 func (s LogConditionTemplatePathSelectorMetadataTags) WithArrayOfValues(values [][]string) *LogConditionTemplate_FieldSubPathArrayOfValues { 273 return s.FieldPath().WithIArrayOfValues(values).(*LogConditionTemplate_FieldSubPathArrayOfValues) 274 } 275 276 func (s LogConditionTemplatePathSelectorMetadataTags) WithItemValue(value string) *LogConditionTemplate_FieldSubPathArrayItemValue { 277 return s.FieldPath().WithIArrayItemValue(value).(*LogConditionTemplate_FieldSubPathArrayItemValue) 278 } 279 280 type LogConditionTemplatePathSelectorMetadataLabels struct{} 281 282 func (LogConditionTemplatePathSelectorMetadataLabels) FieldPath() *LogConditionTemplate_FieldSubPath { 283 return &LogConditionTemplate_FieldSubPath{ 284 selector: LogConditionTemplate_FieldPathSelectorMetadata, 285 subPath: meta.NewMetaFieldPathBuilder().Labels().FieldPath(), 286 } 287 } 288 289 func (s LogConditionTemplatePathSelectorMetadataLabels) WithValue(value map[string]string) *LogConditionTemplate_FieldSubPathValue { 290 return s.FieldPath().WithIValue(value).(*LogConditionTemplate_FieldSubPathValue) 291 } 292 293 func (s LogConditionTemplatePathSelectorMetadataLabels) WithArrayOfValues(values []map[string]string) *LogConditionTemplate_FieldSubPathArrayOfValues { 294 return s.FieldPath().WithIArrayOfValues(values).(*LogConditionTemplate_FieldSubPathArrayOfValues) 295 } 296 297 func (LogConditionTemplatePathSelectorMetadataLabels) WithKey(key string) LogConditionTemplateMapPathSelectorMetadataLabels { 298 return LogConditionTemplateMapPathSelectorMetadataLabels{key: key} 299 } 300 301 type LogConditionTemplateMapPathSelectorMetadataLabels struct { 302 key string 303 } 304 305 func (s LogConditionTemplateMapPathSelectorMetadataLabels) FieldPath() *LogConditionTemplate_FieldSubPath { 306 return &LogConditionTemplate_FieldSubPath{ 307 selector: LogConditionTemplate_FieldPathSelectorMetadata, 308 subPath: meta.NewMetaFieldPathBuilder().Labels().WithKey(s.key).FieldPath(), 309 } 310 } 311 312 func (s LogConditionTemplateMapPathSelectorMetadataLabels) WithValue(value string) *LogConditionTemplate_FieldSubPathValue { 313 return s.FieldPath().WithIValue(value).(*LogConditionTemplate_FieldSubPathValue) 314 } 315 316 func (s LogConditionTemplateMapPathSelectorMetadataLabels) WithArrayOfValues(values []string) *LogConditionTemplate_FieldSubPathArrayOfValues { 317 return s.FieldPath().WithIArrayOfValues(values).(*LogConditionTemplate_FieldSubPathArrayOfValues) 318 } 319 320 type LogConditionTemplatePathSelectorMetadataAnnotations struct{} 321 322 func (LogConditionTemplatePathSelectorMetadataAnnotations) FieldPath() *LogConditionTemplate_FieldSubPath { 323 return &LogConditionTemplate_FieldSubPath{ 324 selector: LogConditionTemplate_FieldPathSelectorMetadata, 325 subPath: meta.NewMetaFieldPathBuilder().Annotations().FieldPath(), 326 } 327 } 328 329 func (s LogConditionTemplatePathSelectorMetadataAnnotations) WithValue(value map[string]string) *LogConditionTemplate_FieldSubPathValue { 330 return s.FieldPath().WithIValue(value).(*LogConditionTemplate_FieldSubPathValue) 331 } 332 333 func (s LogConditionTemplatePathSelectorMetadataAnnotations) WithArrayOfValues(values []map[string]string) *LogConditionTemplate_FieldSubPathArrayOfValues { 334 return s.FieldPath().WithIArrayOfValues(values).(*LogConditionTemplate_FieldSubPathArrayOfValues) 335 } 336 337 func (LogConditionTemplatePathSelectorMetadataAnnotations) WithKey(key string) LogConditionTemplateMapPathSelectorMetadataAnnotations { 338 return LogConditionTemplateMapPathSelectorMetadataAnnotations{key: key} 339 } 340 341 type LogConditionTemplateMapPathSelectorMetadataAnnotations struct { 342 key string 343 } 344 345 func (s LogConditionTemplateMapPathSelectorMetadataAnnotations) FieldPath() *LogConditionTemplate_FieldSubPath { 346 return &LogConditionTemplate_FieldSubPath{ 347 selector: LogConditionTemplate_FieldPathSelectorMetadata, 348 subPath: meta.NewMetaFieldPathBuilder().Annotations().WithKey(s.key).FieldPath(), 349 } 350 } 351 352 func (s LogConditionTemplateMapPathSelectorMetadataAnnotations) WithValue(value string) *LogConditionTemplate_FieldSubPathValue { 353 return s.FieldPath().WithIValue(value).(*LogConditionTemplate_FieldSubPathValue) 354 } 355 356 func (s LogConditionTemplateMapPathSelectorMetadataAnnotations) WithArrayOfValues(values []string) *LogConditionTemplate_FieldSubPathArrayOfValues { 357 return s.FieldPath().WithIArrayOfValues(values).(*LogConditionTemplate_FieldSubPathArrayOfValues) 358 } 359 360 type LogConditionTemplatePathSelectorMetadataGeneration struct{} 361 362 func (LogConditionTemplatePathSelectorMetadataGeneration) FieldPath() *LogConditionTemplate_FieldSubPath { 363 return &LogConditionTemplate_FieldSubPath{ 364 selector: LogConditionTemplate_FieldPathSelectorMetadata, 365 subPath: meta.NewMetaFieldPathBuilder().Generation().FieldPath(), 366 } 367 } 368 369 func (s LogConditionTemplatePathSelectorMetadataGeneration) WithValue(value int64) *LogConditionTemplate_FieldSubPathValue { 370 return s.FieldPath().WithIValue(value).(*LogConditionTemplate_FieldSubPathValue) 371 } 372 373 func (s LogConditionTemplatePathSelectorMetadataGeneration) WithArrayOfValues(values []int64) *LogConditionTemplate_FieldSubPathArrayOfValues { 374 return s.FieldPath().WithIArrayOfValues(values).(*LogConditionTemplate_FieldSubPathArrayOfValues) 375 } 376 377 type LogConditionTemplatePathSelectorMetadataResourceVersion struct{} 378 379 func (LogConditionTemplatePathSelectorMetadataResourceVersion) FieldPath() *LogConditionTemplate_FieldSubPath { 380 return &LogConditionTemplate_FieldSubPath{ 381 selector: LogConditionTemplate_FieldPathSelectorMetadata, 382 subPath: meta.NewMetaFieldPathBuilder().ResourceVersion().FieldPath(), 383 } 384 } 385 386 func (s LogConditionTemplatePathSelectorMetadataResourceVersion) WithValue(value string) *LogConditionTemplate_FieldSubPathValue { 387 return s.FieldPath().WithIValue(value).(*LogConditionTemplate_FieldSubPathValue) 388 } 389 390 func (s LogConditionTemplatePathSelectorMetadataResourceVersion) WithArrayOfValues(values []string) *LogConditionTemplate_FieldSubPathArrayOfValues { 391 return s.FieldPath().WithIArrayOfValues(values).(*LogConditionTemplate_FieldSubPathArrayOfValues) 392 } 393 394 type LogConditionTemplatePathSelectorMetadataOwnerReferences struct{} 395 396 func (LogConditionTemplatePathSelectorMetadataOwnerReferences) FieldPath() *LogConditionTemplate_FieldSubPath { 397 return &LogConditionTemplate_FieldSubPath{ 398 selector: LogConditionTemplate_FieldPathSelectorMetadata, 399 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().FieldPath(), 400 } 401 } 402 403 func (s LogConditionTemplatePathSelectorMetadataOwnerReferences) WithValue(value []*meta.OwnerReference) *LogConditionTemplate_FieldSubPathValue { 404 return s.FieldPath().WithIValue(value).(*LogConditionTemplate_FieldSubPathValue) 405 } 406 407 func (s LogConditionTemplatePathSelectorMetadataOwnerReferences) WithArrayOfValues(values [][]*meta.OwnerReference) *LogConditionTemplate_FieldSubPathArrayOfValues { 408 return s.FieldPath().WithIArrayOfValues(values).(*LogConditionTemplate_FieldSubPathArrayOfValues) 409 } 410 411 func (s LogConditionTemplatePathSelectorMetadataOwnerReferences) WithItemValue(value *meta.OwnerReference) *LogConditionTemplate_FieldSubPathArrayItemValue { 412 return s.FieldPath().WithIArrayItemValue(value).(*LogConditionTemplate_FieldSubPathArrayItemValue) 413 } 414 415 func (LogConditionTemplatePathSelectorMetadataOwnerReferences) Kind() LogConditionTemplatePathSelectorMetadataOwnerReferencesKind { 416 return LogConditionTemplatePathSelectorMetadataOwnerReferencesKind{} 417 } 418 419 func (LogConditionTemplatePathSelectorMetadataOwnerReferences) Version() LogConditionTemplatePathSelectorMetadataOwnerReferencesVersion { 420 return LogConditionTemplatePathSelectorMetadataOwnerReferencesVersion{} 421 } 422 423 func (LogConditionTemplatePathSelectorMetadataOwnerReferences) Name() LogConditionTemplatePathSelectorMetadataOwnerReferencesName { 424 return LogConditionTemplatePathSelectorMetadataOwnerReferencesName{} 425 } 426 427 func (LogConditionTemplatePathSelectorMetadataOwnerReferences) Region() LogConditionTemplatePathSelectorMetadataOwnerReferencesRegion { 428 return LogConditionTemplatePathSelectorMetadataOwnerReferencesRegion{} 429 } 430 431 func (LogConditionTemplatePathSelectorMetadataOwnerReferences) Controller() LogConditionTemplatePathSelectorMetadataOwnerReferencesController { 432 return LogConditionTemplatePathSelectorMetadataOwnerReferencesController{} 433 } 434 435 func (LogConditionTemplatePathSelectorMetadataOwnerReferences) RequiresOwnerReference() LogConditionTemplatePathSelectorMetadataOwnerReferencesRequiresOwnerReference { 436 return LogConditionTemplatePathSelectorMetadataOwnerReferencesRequiresOwnerReference{} 437 } 438 439 func (LogConditionTemplatePathSelectorMetadataOwnerReferences) UnsetOnDelete() LogConditionTemplatePathSelectorMetadataOwnerReferencesUnsetOnDelete { 440 return LogConditionTemplatePathSelectorMetadataOwnerReferencesUnsetOnDelete{} 441 } 442 443 type LogConditionTemplatePathSelectorMetadataOwnerReferencesKind struct{} 444 445 func (LogConditionTemplatePathSelectorMetadataOwnerReferencesKind) FieldPath() *LogConditionTemplate_FieldSubPath { 446 return &LogConditionTemplate_FieldSubPath{ 447 selector: LogConditionTemplate_FieldPathSelectorMetadata, 448 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Kind().FieldPath(), 449 } 450 } 451 452 func (s LogConditionTemplatePathSelectorMetadataOwnerReferencesKind) WithValue(value string) *LogConditionTemplate_FieldSubPathValue { 453 return s.FieldPath().WithIValue(value).(*LogConditionTemplate_FieldSubPathValue) 454 } 455 456 func (s LogConditionTemplatePathSelectorMetadataOwnerReferencesKind) WithArrayOfValues(values []string) *LogConditionTemplate_FieldSubPathArrayOfValues { 457 return s.FieldPath().WithIArrayOfValues(values).(*LogConditionTemplate_FieldSubPathArrayOfValues) 458 } 459 460 type LogConditionTemplatePathSelectorMetadataOwnerReferencesVersion struct{} 461 462 func (LogConditionTemplatePathSelectorMetadataOwnerReferencesVersion) FieldPath() *LogConditionTemplate_FieldSubPath { 463 return &LogConditionTemplate_FieldSubPath{ 464 selector: LogConditionTemplate_FieldPathSelectorMetadata, 465 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Version().FieldPath(), 466 } 467 } 468 469 func (s LogConditionTemplatePathSelectorMetadataOwnerReferencesVersion) WithValue(value string) *LogConditionTemplate_FieldSubPathValue { 470 return s.FieldPath().WithIValue(value).(*LogConditionTemplate_FieldSubPathValue) 471 } 472 473 func (s LogConditionTemplatePathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues(values []string) *LogConditionTemplate_FieldSubPathArrayOfValues { 474 return s.FieldPath().WithIArrayOfValues(values).(*LogConditionTemplate_FieldSubPathArrayOfValues) 475 } 476 477 type LogConditionTemplatePathSelectorMetadataOwnerReferencesName struct{} 478 479 func (LogConditionTemplatePathSelectorMetadataOwnerReferencesName) FieldPath() *LogConditionTemplate_FieldSubPath { 480 return &LogConditionTemplate_FieldSubPath{ 481 selector: LogConditionTemplate_FieldPathSelectorMetadata, 482 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Name().FieldPath(), 483 } 484 } 485 486 func (s LogConditionTemplatePathSelectorMetadataOwnerReferencesName) WithValue(value string) *LogConditionTemplate_FieldSubPathValue { 487 return s.FieldPath().WithIValue(value).(*LogConditionTemplate_FieldSubPathValue) 488 } 489 490 func (s LogConditionTemplatePathSelectorMetadataOwnerReferencesName) WithArrayOfValues(values []string) *LogConditionTemplate_FieldSubPathArrayOfValues { 491 return s.FieldPath().WithIArrayOfValues(values).(*LogConditionTemplate_FieldSubPathArrayOfValues) 492 } 493 494 type LogConditionTemplatePathSelectorMetadataOwnerReferencesRegion struct{} 495 496 func (LogConditionTemplatePathSelectorMetadataOwnerReferencesRegion) FieldPath() *LogConditionTemplate_FieldSubPath { 497 return &LogConditionTemplate_FieldSubPath{ 498 selector: LogConditionTemplate_FieldPathSelectorMetadata, 499 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Region().FieldPath(), 500 } 501 } 502 503 func (s LogConditionTemplatePathSelectorMetadataOwnerReferencesRegion) WithValue(value string) *LogConditionTemplate_FieldSubPathValue { 504 return s.FieldPath().WithIValue(value).(*LogConditionTemplate_FieldSubPathValue) 505 } 506 507 func (s LogConditionTemplatePathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues(values []string) *LogConditionTemplate_FieldSubPathArrayOfValues { 508 return s.FieldPath().WithIArrayOfValues(values).(*LogConditionTemplate_FieldSubPathArrayOfValues) 509 } 510 511 type LogConditionTemplatePathSelectorMetadataOwnerReferencesController struct{} 512 513 func (LogConditionTemplatePathSelectorMetadataOwnerReferencesController) FieldPath() *LogConditionTemplate_FieldSubPath { 514 return &LogConditionTemplate_FieldSubPath{ 515 selector: LogConditionTemplate_FieldPathSelectorMetadata, 516 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Controller().FieldPath(), 517 } 518 } 519 520 func (s LogConditionTemplatePathSelectorMetadataOwnerReferencesController) WithValue(value bool) *LogConditionTemplate_FieldSubPathValue { 521 return s.FieldPath().WithIValue(value).(*LogConditionTemplate_FieldSubPathValue) 522 } 523 524 func (s LogConditionTemplatePathSelectorMetadataOwnerReferencesController) WithArrayOfValues(values []bool) *LogConditionTemplate_FieldSubPathArrayOfValues { 525 return s.FieldPath().WithIArrayOfValues(values).(*LogConditionTemplate_FieldSubPathArrayOfValues) 526 } 527 528 type LogConditionTemplatePathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{} 529 530 func (LogConditionTemplatePathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath() *LogConditionTemplate_FieldSubPath { 531 return &LogConditionTemplate_FieldSubPath{ 532 selector: LogConditionTemplate_FieldPathSelectorMetadata, 533 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().RequiresOwnerReference().FieldPath(), 534 } 535 } 536 537 func (s LogConditionTemplatePathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue(value bool) *LogConditionTemplate_FieldSubPathValue { 538 return s.FieldPath().WithIValue(value).(*LogConditionTemplate_FieldSubPathValue) 539 } 540 541 func (s LogConditionTemplatePathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues(values []bool) *LogConditionTemplate_FieldSubPathArrayOfValues { 542 return s.FieldPath().WithIArrayOfValues(values).(*LogConditionTemplate_FieldSubPathArrayOfValues) 543 } 544 545 type LogConditionTemplatePathSelectorMetadataOwnerReferencesUnsetOnDelete struct{} 546 547 func (LogConditionTemplatePathSelectorMetadataOwnerReferencesUnsetOnDelete) FieldPath() *LogConditionTemplate_FieldSubPath { 548 return &LogConditionTemplate_FieldSubPath{ 549 selector: LogConditionTemplate_FieldPathSelectorMetadata, 550 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().UnsetOnDelete().FieldPath(), 551 } 552 } 553 554 func (s LogConditionTemplatePathSelectorMetadataOwnerReferencesUnsetOnDelete) WithValue(value bool) *LogConditionTemplate_FieldSubPathValue { 555 return s.FieldPath().WithIValue(value).(*LogConditionTemplate_FieldSubPathValue) 556 } 557 558 func (s LogConditionTemplatePathSelectorMetadataOwnerReferencesUnsetOnDelete) WithArrayOfValues(values []bool) *LogConditionTemplate_FieldSubPathArrayOfValues { 559 return s.FieldPath().WithIArrayOfValues(values).(*LogConditionTemplate_FieldSubPathArrayOfValues) 560 } 561 562 type LogConditionTemplatePathSelectorMetadataShards struct{} 563 564 func (LogConditionTemplatePathSelectorMetadataShards) FieldPath() *LogConditionTemplate_FieldSubPath { 565 return &LogConditionTemplate_FieldSubPath{ 566 selector: LogConditionTemplate_FieldPathSelectorMetadata, 567 subPath: meta.NewMetaFieldPathBuilder().Shards().FieldPath(), 568 } 569 } 570 571 func (s LogConditionTemplatePathSelectorMetadataShards) WithValue(value map[string]int64) *LogConditionTemplate_FieldSubPathValue { 572 return s.FieldPath().WithIValue(value).(*LogConditionTemplate_FieldSubPathValue) 573 } 574 575 func (s LogConditionTemplatePathSelectorMetadataShards) WithArrayOfValues(values []map[string]int64) *LogConditionTemplate_FieldSubPathArrayOfValues { 576 return s.FieldPath().WithIArrayOfValues(values).(*LogConditionTemplate_FieldSubPathArrayOfValues) 577 } 578 579 func (LogConditionTemplatePathSelectorMetadataShards) WithKey(key string) LogConditionTemplateMapPathSelectorMetadataShards { 580 return LogConditionTemplateMapPathSelectorMetadataShards{key: key} 581 } 582 583 type LogConditionTemplateMapPathSelectorMetadataShards struct { 584 key string 585 } 586 587 func (s LogConditionTemplateMapPathSelectorMetadataShards) FieldPath() *LogConditionTemplate_FieldSubPath { 588 return &LogConditionTemplate_FieldSubPath{ 589 selector: LogConditionTemplate_FieldPathSelectorMetadata, 590 subPath: meta.NewMetaFieldPathBuilder().Shards().WithKey(s.key).FieldPath(), 591 } 592 } 593 594 func (s LogConditionTemplateMapPathSelectorMetadataShards) WithValue(value int64) *LogConditionTemplate_FieldSubPathValue { 595 return s.FieldPath().WithIValue(value).(*LogConditionTemplate_FieldSubPathValue) 596 } 597 598 func (s LogConditionTemplateMapPathSelectorMetadataShards) WithArrayOfValues(values []int64) *LogConditionTemplate_FieldSubPathArrayOfValues { 599 return s.FieldPath().WithIArrayOfValues(values).(*LogConditionTemplate_FieldSubPathArrayOfValues) 600 } 601 602 type LogConditionTemplatePathSelectorMetadataSyncing struct{} 603 604 func (LogConditionTemplatePathSelectorMetadataSyncing) FieldPath() *LogConditionTemplate_FieldSubPath { 605 return &LogConditionTemplate_FieldSubPath{ 606 selector: LogConditionTemplate_FieldPathSelectorMetadata, 607 subPath: meta.NewMetaFieldPathBuilder().Syncing().FieldPath(), 608 } 609 } 610 611 func (s LogConditionTemplatePathSelectorMetadataSyncing) WithValue(value *meta.SyncingMeta) *LogConditionTemplate_FieldSubPathValue { 612 return s.FieldPath().WithIValue(value).(*LogConditionTemplate_FieldSubPathValue) 613 } 614 615 func (s LogConditionTemplatePathSelectorMetadataSyncing) WithArrayOfValues(values []*meta.SyncingMeta) *LogConditionTemplate_FieldSubPathArrayOfValues { 616 return s.FieldPath().WithIArrayOfValues(values).(*LogConditionTemplate_FieldSubPathArrayOfValues) 617 } 618 619 func (LogConditionTemplatePathSelectorMetadataSyncing) OwningRegion() LogConditionTemplatePathSelectorMetadataSyncingOwningRegion { 620 return LogConditionTemplatePathSelectorMetadataSyncingOwningRegion{} 621 } 622 623 func (LogConditionTemplatePathSelectorMetadataSyncing) Regions() LogConditionTemplatePathSelectorMetadataSyncingRegions { 624 return LogConditionTemplatePathSelectorMetadataSyncingRegions{} 625 } 626 627 type LogConditionTemplatePathSelectorMetadataSyncingOwningRegion struct{} 628 629 func (LogConditionTemplatePathSelectorMetadataSyncingOwningRegion) FieldPath() *LogConditionTemplate_FieldSubPath { 630 return &LogConditionTemplate_FieldSubPath{ 631 selector: LogConditionTemplate_FieldPathSelectorMetadata, 632 subPath: meta.NewMetaFieldPathBuilder().Syncing().OwningRegion().FieldPath(), 633 } 634 } 635 636 func (s LogConditionTemplatePathSelectorMetadataSyncingOwningRegion) WithValue(value string) *LogConditionTemplate_FieldSubPathValue { 637 return s.FieldPath().WithIValue(value).(*LogConditionTemplate_FieldSubPathValue) 638 } 639 640 func (s LogConditionTemplatePathSelectorMetadataSyncingOwningRegion) WithArrayOfValues(values []string) *LogConditionTemplate_FieldSubPathArrayOfValues { 641 return s.FieldPath().WithIArrayOfValues(values).(*LogConditionTemplate_FieldSubPathArrayOfValues) 642 } 643 644 type LogConditionTemplatePathSelectorMetadataSyncingRegions struct{} 645 646 func (LogConditionTemplatePathSelectorMetadataSyncingRegions) FieldPath() *LogConditionTemplate_FieldSubPath { 647 return &LogConditionTemplate_FieldSubPath{ 648 selector: LogConditionTemplate_FieldPathSelectorMetadata, 649 subPath: meta.NewMetaFieldPathBuilder().Syncing().Regions().FieldPath(), 650 } 651 } 652 653 func (s LogConditionTemplatePathSelectorMetadataSyncingRegions) WithValue(value []string) *LogConditionTemplate_FieldSubPathValue { 654 return s.FieldPath().WithIValue(value).(*LogConditionTemplate_FieldSubPathValue) 655 } 656 657 func (s LogConditionTemplatePathSelectorMetadataSyncingRegions) WithArrayOfValues(values [][]string) *LogConditionTemplate_FieldSubPathArrayOfValues { 658 return s.FieldPath().WithIArrayOfValues(values).(*LogConditionTemplate_FieldSubPathArrayOfValues) 659 } 660 661 func (s LogConditionTemplatePathSelectorMetadataSyncingRegions) WithItemValue(value string) *LogConditionTemplate_FieldSubPathArrayItemValue { 662 return s.FieldPath().WithIArrayItemValue(value).(*LogConditionTemplate_FieldSubPathArrayItemValue) 663 } 664 665 type LogConditionTemplatePathSelectorMetadataLifecycle struct{} 666 667 func (LogConditionTemplatePathSelectorMetadataLifecycle) FieldPath() *LogConditionTemplate_FieldSubPath { 668 return &LogConditionTemplate_FieldSubPath{ 669 selector: LogConditionTemplate_FieldPathSelectorMetadata, 670 subPath: meta.NewMetaFieldPathBuilder().Lifecycle().FieldPath(), 671 } 672 } 673 674 func (s LogConditionTemplatePathSelectorMetadataLifecycle) WithValue(value *meta.Lifecycle) *LogConditionTemplate_FieldSubPathValue { 675 return s.FieldPath().WithIValue(value).(*LogConditionTemplate_FieldSubPathValue) 676 } 677 678 func (s LogConditionTemplatePathSelectorMetadataLifecycle) WithArrayOfValues(values []*meta.Lifecycle) *LogConditionTemplate_FieldSubPathArrayOfValues { 679 return s.FieldPath().WithIArrayOfValues(values).(*LogConditionTemplate_FieldSubPathArrayOfValues) 680 } 681 682 func (LogConditionTemplatePathSelectorMetadataLifecycle) State() LogConditionTemplatePathSelectorMetadataLifecycleState { 683 return LogConditionTemplatePathSelectorMetadataLifecycleState{} 684 } 685 686 func (LogConditionTemplatePathSelectorMetadataLifecycle) BlockDeletion() LogConditionTemplatePathSelectorMetadataLifecycleBlockDeletion { 687 return LogConditionTemplatePathSelectorMetadataLifecycleBlockDeletion{} 688 } 689 690 type LogConditionTemplatePathSelectorMetadataLifecycleState struct{} 691 692 func (LogConditionTemplatePathSelectorMetadataLifecycleState) FieldPath() *LogConditionTemplate_FieldSubPath { 693 return &LogConditionTemplate_FieldSubPath{ 694 selector: LogConditionTemplate_FieldPathSelectorMetadata, 695 subPath: meta.NewMetaFieldPathBuilder().Lifecycle().State().FieldPath(), 696 } 697 } 698 699 func (s LogConditionTemplatePathSelectorMetadataLifecycleState) WithValue(value meta.Lifecycle_State) *LogConditionTemplate_FieldSubPathValue { 700 return s.FieldPath().WithIValue(value).(*LogConditionTemplate_FieldSubPathValue) 701 } 702 703 func (s LogConditionTemplatePathSelectorMetadataLifecycleState) WithArrayOfValues(values []meta.Lifecycle_State) *LogConditionTemplate_FieldSubPathArrayOfValues { 704 return s.FieldPath().WithIArrayOfValues(values).(*LogConditionTemplate_FieldSubPathArrayOfValues) 705 } 706 707 type LogConditionTemplatePathSelectorMetadataLifecycleBlockDeletion struct{} 708 709 func (LogConditionTemplatePathSelectorMetadataLifecycleBlockDeletion) FieldPath() *LogConditionTemplate_FieldSubPath { 710 return &LogConditionTemplate_FieldSubPath{ 711 selector: LogConditionTemplate_FieldPathSelectorMetadata, 712 subPath: meta.NewMetaFieldPathBuilder().Lifecycle().BlockDeletion().FieldPath(), 713 } 714 } 715 716 func (s LogConditionTemplatePathSelectorMetadataLifecycleBlockDeletion) WithValue(value bool) *LogConditionTemplate_FieldSubPathValue { 717 return s.FieldPath().WithIValue(value).(*LogConditionTemplate_FieldSubPathValue) 718 } 719 720 func (s LogConditionTemplatePathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues(values []bool) *LogConditionTemplate_FieldSubPathArrayOfValues { 721 return s.FieldPath().WithIArrayOfValues(values).(*LogConditionTemplate_FieldSubPathArrayOfValues) 722 } 723 724 type LogConditionTemplatePathSelectorMetadataServices struct{} 725 726 func (LogConditionTemplatePathSelectorMetadataServices) FieldPath() *LogConditionTemplate_FieldSubPath { 727 return &LogConditionTemplate_FieldSubPath{ 728 selector: LogConditionTemplate_FieldPathSelectorMetadata, 729 subPath: meta.NewMetaFieldPathBuilder().Services().FieldPath(), 730 } 731 } 732 733 func (s LogConditionTemplatePathSelectorMetadataServices) WithValue(value *meta.ServicesInfo) *LogConditionTemplate_FieldSubPathValue { 734 return s.FieldPath().WithIValue(value).(*LogConditionTemplate_FieldSubPathValue) 735 } 736 737 func (s LogConditionTemplatePathSelectorMetadataServices) WithArrayOfValues(values []*meta.ServicesInfo) *LogConditionTemplate_FieldSubPathArrayOfValues { 738 return s.FieldPath().WithIArrayOfValues(values).(*LogConditionTemplate_FieldSubPathArrayOfValues) 739 } 740 741 func (LogConditionTemplatePathSelectorMetadataServices) OwningService() LogConditionTemplatePathSelectorMetadataServicesOwningService { 742 return LogConditionTemplatePathSelectorMetadataServicesOwningService{} 743 } 744 745 func (LogConditionTemplatePathSelectorMetadataServices) AllowedServices() LogConditionTemplatePathSelectorMetadataServicesAllowedServices { 746 return LogConditionTemplatePathSelectorMetadataServicesAllowedServices{} 747 } 748 749 type LogConditionTemplatePathSelectorMetadataServicesOwningService struct{} 750 751 func (LogConditionTemplatePathSelectorMetadataServicesOwningService) FieldPath() *LogConditionTemplate_FieldSubPath { 752 return &LogConditionTemplate_FieldSubPath{ 753 selector: LogConditionTemplate_FieldPathSelectorMetadata, 754 subPath: meta.NewMetaFieldPathBuilder().Services().OwningService().FieldPath(), 755 } 756 } 757 758 func (s LogConditionTemplatePathSelectorMetadataServicesOwningService) WithValue(value string) *LogConditionTemplate_FieldSubPathValue { 759 return s.FieldPath().WithIValue(value).(*LogConditionTemplate_FieldSubPathValue) 760 } 761 762 func (s LogConditionTemplatePathSelectorMetadataServicesOwningService) WithArrayOfValues(values []string) *LogConditionTemplate_FieldSubPathArrayOfValues { 763 return s.FieldPath().WithIArrayOfValues(values).(*LogConditionTemplate_FieldSubPathArrayOfValues) 764 } 765 766 type LogConditionTemplatePathSelectorMetadataServicesAllowedServices struct{} 767 768 func (LogConditionTemplatePathSelectorMetadataServicesAllowedServices) FieldPath() *LogConditionTemplate_FieldSubPath { 769 return &LogConditionTemplate_FieldSubPath{ 770 selector: LogConditionTemplate_FieldPathSelectorMetadata, 771 subPath: meta.NewMetaFieldPathBuilder().Services().AllowedServices().FieldPath(), 772 } 773 } 774 775 func (s LogConditionTemplatePathSelectorMetadataServicesAllowedServices) WithValue(value []string) *LogConditionTemplate_FieldSubPathValue { 776 return s.FieldPath().WithIValue(value).(*LogConditionTemplate_FieldSubPathValue) 777 } 778 779 func (s LogConditionTemplatePathSelectorMetadataServicesAllowedServices) WithArrayOfValues(values [][]string) *LogConditionTemplate_FieldSubPathArrayOfValues { 780 return s.FieldPath().WithIArrayOfValues(values).(*LogConditionTemplate_FieldSubPathArrayOfValues) 781 } 782 783 func (s LogConditionTemplatePathSelectorMetadataServicesAllowedServices) WithItemValue(value string) *LogConditionTemplate_FieldSubPathArrayItemValue { 784 return s.FieldPath().WithIArrayItemValue(value).(*LogConditionTemplate_FieldSubPathArrayItemValue) 785 } 786 787 type LogConditionTemplatePathSelectorDisplayName struct{} 788 789 func (LogConditionTemplatePathSelectorDisplayName) FieldPath() *LogConditionTemplate_FieldTerminalPath { 790 return &LogConditionTemplate_FieldTerminalPath{selector: LogConditionTemplate_FieldPathSelectorDisplayName} 791 } 792 793 func (s LogConditionTemplatePathSelectorDisplayName) WithValue(value string) *LogConditionTemplate_FieldTerminalPathValue { 794 return s.FieldPath().WithIValue(value).(*LogConditionTemplate_FieldTerminalPathValue) 795 } 796 797 func (s LogConditionTemplatePathSelectorDisplayName) WithArrayOfValues(values []string) *LogConditionTemplate_FieldTerminalPathArrayOfValues { 798 return s.FieldPath().WithIArrayOfValues(values).(*LogConditionTemplate_FieldTerminalPathArrayOfValues) 799 } 800 801 type LogConditionTemplatePathSelectorDescription struct{} 802 803 func (LogConditionTemplatePathSelectorDescription) FieldPath() *LogConditionTemplate_FieldTerminalPath { 804 return &LogConditionTemplate_FieldTerminalPath{selector: LogConditionTemplate_FieldPathSelectorDescription} 805 } 806 807 func (s LogConditionTemplatePathSelectorDescription) WithValue(value string) *LogConditionTemplate_FieldTerminalPathValue { 808 return s.FieldPath().WithIValue(value).(*LogConditionTemplate_FieldTerminalPathValue) 809 } 810 811 func (s LogConditionTemplatePathSelectorDescription) WithArrayOfValues(values []string) *LogConditionTemplate_FieldTerminalPathArrayOfValues { 812 return s.FieldPath().WithIArrayOfValues(values).(*LogConditionTemplate_FieldTerminalPathArrayOfValues) 813 } 814 815 type LogConditionTemplatePathSelectorSupportingDocs struct{} 816 817 func (LogConditionTemplatePathSelectorSupportingDocs) FieldPath() *LogConditionTemplate_FieldTerminalPath { 818 return &LogConditionTemplate_FieldTerminalPath{selector: LogConditionTemplate_FieldPathSelectorSupportingDocs} 819 } 820 821 func (s LogConditionTemplatePathSelectorSupportingDocs) WithValue(value []*document.Reference) *LogConditionTemplate_FieldTerminalPathValue { 822 return s.FieldPath().WithIValue(value).(*LogConditionTemplate_FieldTerminalPathValue) 823 } 824 825 func (s LogConditionTemplatePathSelectorSupportingDocs) WithArrayOfValues(values [][]*document.Reference) *LogConditionTemplate_FieldTerminalPathArrayOfValues { 826 return s.FieldPath().WithIArrayOfValues(values).(*LogConditionTemplate_FieldTerminalPathArrayOfValues) 827 } 828 829 func (s LogConditionTemplatePathSelectorSupportingDocs) WithItemValue(value *document.Reference) *LogConditionTemplate_FieldTerminalPathArrayItemValue { 830 return s.FieldPath().WithIArrayItemValue(value).(*LogConditionTemplate_FieldTerminalPathArrayItemValue) 831 } 832 833 type LogConditionTemplatePathSelectorSpecTemplate struct{} 834 835 func (LogConditionTemplatePathSelectorSpecTemplate) FieldPath() *LogConditionTemplate_FieldTerminalPath { 836 return &LogConditionTemplate_FieldTerminalPath{selector: LogConditionTemplate_FieldPathSelectorSpecTemplate} 837 } 838 839 func (s LogConditionTemplatePathSelectorSpecTemplate) WithValue(value *rcommon.LogCndSpec) *LogConditionTemplate_FieldTerminalPathValue { 840 return s.FieldPath().WithIValue(value).(*LogConditionTemplate_FieldTerminalPathValue) 841 } 842 843 func (s LogConditionTemplatePathSelectorSpecTemplate) WithArrayOfValues(values []*rcommon.LogCndSpec) *LogConditionTemplate_FieldTerminalPathArrayOfValues { 844 return s.FieldPath().WithIArrayOfValues(values).(*LogConditionTemplate_FieldTerminalPathArrayOfValues) 845 } 846 847 func (LogConditionTemplatePathSelectorSpecTemplate) WithSubPath(subPath rcommon.LogCndSpec_FieldPath) *LogConditionTemplate_FieldSubPath { 848 return &LogConditionTemplate_FieldSubPath{selector: LogConditionTemplate_FieldPathSelectorSpecTemplate, subPath: subPath} 849 } 850 851 func (s LogConditionTemplatePathSelectorSpecTemplate) WithSubValue(subPathValue rcommon.LogCndSpec_FieldPathValue) *LogConditionTemplate_FieldSubPathValue { 852 return &LogConditionTemplate_FieldSubPathValue{LogConditionTemplate_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 853 } 854 855 func (s LogConditionTemplatePathSelectorSpecTemplate) WithSubArrayOfValues(subPathArrayOfValues rcommon.LogCndSpec_FieldPathArrayOfValues) *LogConditionTemplate_FieldSubPathArrayOfValues { 856 return &LogConditionTemplate_FieldSubPathArrayOfValues{LogConditionTemplate_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 857 } 858 859 func (s LogConditionTemplatePathSelectorSpecTemplate) WithSubArrayItemValue(subPathArrayItemValue rcommon.LogCndSpec_FieldPathArrayItemValue) *LogConditionTemplate_FieldSubPathArrayItemValue { 860 return &LogConditionTemplate_FieldSubPathArrayItemValue{LogConditionTemplate_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 861 } 862 863 func (LogConditionTemplatePathSelectorSpecTemplate) Query() LogConditionTemplatePathSelectorSpecTemplateQuery { 864 return LogConditionTemplatePathSelectorSpecTemplateQuery{} 865 } 866 867 func (LogConditionTemplatePathSelectorSpecTemplate) GroupByLabels() LogConditionTemplatePathSelectorSpecTemplateGroupByLabels { 868 return LogConditionTemplatePathSelectorSpecTemplateGroupByLabels{} 869 } 870 871 type LogConditionTemplatePathSelectorSpecTemplateQuery struct{} 872 873 func (LogConditionTemplatePathSelectorSpecTemplateQuery) FieldPath() *LogConditionTemplate_FieldSubPath { 874 return &LogConditionTemplate_FieldSubPath{ 875 selector: LogConditionTemplate_FieldPathSelectorSpecTemplate, 876 subPath: rcommon.NewLogCndSpecFieldPathBuilder().Query().FieldPath(), 877 } 878 } 879 880 func (s LogConditionTemplatePathSelectorSpecTemplateQuery) WithValue(value *rcommon.LogCndSpec_Query) *LogConditionTemplate_FieldSubPathValue { 881 return s.FieldPath().WithIValue(value).(*LogConditionTemplate_FieldSubPathValue) 882 } 883 884 func (s LogConditionTemplatePathSelectorSpecTemplateQuery) WithArrayOfValues(values []*rcommon.LogCndSpec_Query) *LogConditionTemplate_FieldSubPathArrayOfValues { 885 return s.FieldPath().WithIArrayOfValues(values).(*LogConditionTemplate_FieldSubPathArrayOfValues) 886 } 887 888 func (LogConditionTemplatePathSelectorSpecTemplateQuery) Filter() LogConditionTemplatePathSelectorSpecTemplateQueryFilter { 889 return LogConditionTemplatePathSelectorSpecTemplateQueryFilter{} 890 } 891 892 func (LogConditionTemplatePathSelectorSpecTemplateQuery) Trigger() LogConditionTemplatePathSelectorSpecTemplateQueryTrigger { 893 return LogConditionTemplatePathSelectorSpecTemplateQueryTrigger{} 894 } 895 896 func (LogConditionTemplatePathSelectorSpecTemplateQuery) MinDuration() LogConditionTemplatePathSelectorSpecTemplateQueryMinDuration { 897 return LogConditionTemplatePathSelectorSpecTemplateQueryMinDuration{} 898 } 899 900 type LogConditionTemplatePathSelectorSpecTemplateQueryFilter struct{} 901 902 func (LogConditionTemplatePathSelectorSpecTemplateQueryFilter) FieldPath() *LogConditionTemplate_FieldSubPath { 903 return &LogConditionTemplate_FieldSubPath{ 904 selector: LogConditionTemplate_FieldPathSelectorSpecTemplate, 905 subPath: rcommon.NewLogCndSpecFieldPathBuilder().Query().Filter().FieldPath(), 906 } 907 } 908 909 func (s LogConditionTemplatePathSelectorSpecTemplateQueryFilter) WithValue(value *logging_log.Filter) *LogConditionTemplate_FieldSubPathValue { 910 return s.FieldPath().WithIValue(value).(*LogConditionTemplate_FieldSubPathValue) 911 } 912 913 func (s LogConditionTemplatePathSelectorSpecTemplateQueryFilter) WithArrayOfValues(values []*logging_log.Filter) *LogConditionTemplate_FieldSubPathArrayOfValues { 914 return s.FieldPath().WithIArrayOfValues(values).(*LogConditionTemplate_FieldSubPathArrayOfValues) 915 } 916 917 type LogConditionTemplatePathSelectorSpecTemplateQueryTrigger struct{} 918 919 func (LogConditionTemplatePathSelectorSpecTemplateQueryTrigger) FieldPath() *LogConditionTemplate_FieldSubPath { 920 return &LogConditionTemplate_FieldSubPath{ 921 selector: LogConditionTemplate_FieldPathSelectorSpecTemplate, 922 subPath: rcommon.NewLogCndSpecFieldPathBuilder().Query().Trigger().FieldPath(), 923 } 924 } 925 926 func (s LogConditionTemplatePathSelectorSpecTemplateQueryTrigger) WithValue(value *rcommon.LogCndSpec_Query_TriggerCnd) *LogConditionTemplate_FieldSubPathValue { 927 return s.FieldPath().WithIValue(value).(*LogConditionTemplate_FieldSubPathValue) 928 } 929 930 func (s LogConditionTemplatePathSelectorSpecTemplateQueryTrigger) WithArrayOfValues(values []*rcommon.LogCndSpec_Query_TriggerCnd) *LogConditionTemplate_FieldSubPathArrayOfValues { 931 return s.FieldPath().WithIArrayOfValues(values).(*LogConditionTemplate_FieldSubPathArrayOfValues) 932 } 933 934 type LogConditionTemplatePathSelectorSpecTemplateQueryMinDuration struct{} 935 936 func (LogConditionTemplatePathSelectorSpecTemplateQueryMinDuration) FieldPath() *LogConditionTemplate_FieldSubPath { 937 return &LogConditionTemplate_FieldSubPath{ 938 selector: LogConditionTemplate_FieldPathSelectorSpecTemplate, 939 subPath: rcommon.NewLogCndSpecFieldPathBuilder().Query().MinDuration().FieldPath(), 940 } 941 } 942 943 func (s LogConditionTemplatePathSelectorSpecTemplateQueryMinDuration) WithValue(value *durationpb.Duration) *LogConditionTemplate_FieldSubPathValue { 944 return s.FieldPath().WithIValue(value).(*LogConditionTemplate_FieldSubPathValue) 945 } 946 947 func (s LogConditionTemplatePathSelectorSpecTemplateQueryMinDuration) WithArrayOfValues(values []*durationpb.Duration) *LogConditionTemplate_FieldSubPathArrayOfValues { 948 return s.FieldPath().WithIArrayOfValues(values).(*LogConditionTemplate_FieldSubPathArrayOfValues) 949 } 950 951 type LogConditionTemplatePathSelectorSpecTemplateGroupByLabels struct{} 952 953 func (LogConditionTemplatePathSelectorSpecTemplateGroupByLabels) FieldPath() *LogConditionTemplate_FieldSubPath { 954 return &LogConditionTemplate_FieldSubPath{ 955 selector: LogConditionTemplate_FieldPathSelectorSpecTemplate, 956 subPath: rcommon.NewLogCndSpecFieldPathBuilder().GroupByLabels().FieldPath(), 957 } 958 } 959 960 func (s LogConditionTemplatePathSelectorSpecTemplateGroupByLabels) WithValue(value []string) *LogConditionTemplate_FieldSubPathValue { 961 return s.FieldPath().WithIValue(value).(*LogConditionTemplate_FieldSubPathValue) 962 } 963 964 func (s LogConditionTemplatePathSelectorSpecTemplateGroupByLabels) WithArrayOfValues(values [][]string) *LogConditionTemplate_FieldSubPathArrayOfValues { 965 return s.FieldPath().WithIArrayOfValues(values).(*LogConditionTemplate_FieldSubPathArrayOfValues) 966 } 967 968 func (s LogConditionTemplatePathSelectorSpecTemplateGroupByLabels) WithItemValue(value string) *LogConditionTemplate_FieldSubPathArrayItemValue { 969 return s.FieldPath().WithIArrayItemValue(value).(*LogConditionTemplate_FieldSubPathArrayItemValue) 970 }