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