github.com/cloudwan/edgelq-sdk@v1.15.4/monitoring/resources/v3/metric_descriptor/metric_descriptor.pb.fieldpathbuilder.go (about)

     1  // Code generated by protoc-gen-goten-object
     2  // File: edgelq/monitoring/proto/v3/metric_descriptor.proto
     3  // DO NOT EDIT!!!
     4  
     5  package metric_descriptor
     6  
     7  // proto imports
     8  import (
     9  	api "github.com/cloudwan/edgelq-sdk/common/api"
    10  	common "github.com/cloudwan/edgelq-sdk/monitoring/resources/v3/common"
    11  	monitored_resource_descriptor "github.com/cloudwan/edgelq-sdk/monitoring/resources/v3/monitored_resource_descriptor"
    12  	project "github.com/cloudwan/edgelq-sdk/monitoring/resources/v3/project"
    13  	meta "github.com/cloudwan/goten-sdk/types/meta"
    14  	multi_region_policy "github.com/cloudwan/goten-sdk/types/multi_region_policy"
    15  	durationpb "google.golang.org/protobuf/types/known/durationpb"
    16  	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
    17  )
    18  
    19  // make sure we're using proto imports
    20  var (
    21  	_ = api.LaunchStage(0)
    22  	_ = &common.LabelDescriptor{}
    23  	_ = &monitored_resource_descriptor.MonitoredResourceDescriptor{}
    24  	_ = &project.Project{}
    25  	_ = &durationpb.Duration{}
    26  	_ = &timestamppb.Timestamp{}
    27  	_ = &meta.Meta{}
    28  	_ = &multi_region_policy.MultiRegionPolicy{}
    29  )
    30  
    31  type MetricDescriptorFieldPathBuilder struct{}
    32  
    33  func NewMetricDescriptorFieldPathBuilder() MetricDescriptorFieldPathBuilder {
    34  	return MetricDescriptorFieldPathBuilder{}
    35  }
    36  func (MetricDescriptorFieldPathBuilder) Metadata() MetricDescriptorPathSelectorMetadata {
    37  	return MetricDescriptorPathSelectorMetadata{}
    38  }
    39  func (MetricDescriptorFieldPathBuilder) Name() MetricDescriptorPathSelectorName {
    40  	return MetricDescriptorPathSelectorName{}
    41  }
    42  func (MetricDescriptorFieldPathBuilder) Type() MetricDescriptorPathSelectorType {
    43  	return MetricDescriptorPathSelectorType{}
    44  }
    45  func (MetricDescriptorFieldPathBuilder) ResourceTypes() MetricDescriptorPathSelectorResourceTypes {
    46  	return MetricDescriptorPathSelectorResourceTypes{}
    47  }
    48  func (MetricDescriptorFieldPathBuilder) Labels() MetricDescriptorPathSelectorLabels {
    49  	return MetricDescriptorPathSelectorLabels{}
    50  }
    51  func (MetricDescriptorFieldPathBuilder) MetricKind() MetricDescriptorPathSelectorMetricKind {
    52  	return MetricDescriptorPathSelectorMetricKind{}
    53  }
    54  func (MetricDescriptorFieldPathBuilder) ValueType() MetricDescriptorPathSelectorValueType {
    55  	return MetricDescriptorPathSelectorValueType{}
    56  }
    57  func (MetricDescriptorFieldPathBuilder) Unit() MetricDescriptorPathSelectorUnit {
    58  	return MetricDescriptorPathSelectorUnit{}
    59  }
    60  func (MetricDescriptorFieldPathBuilder) Description() MetricDescriptorPathSelectorDescription {
    61  	return MetricDescriptorPathSelectorDescription{}
    62  }
    63  func (MetricDescriptorFieldPathBuilder) DisplayName() MetricDescriptorPathSelectorDisplayName {
    64  	return MetricDescriptorPathSelectorDisplayName{}
    65  }
    66  func (MetricDescriptorFieldPathBuilder) MetricDescriptorMetadata() MetricDescriptorPathSelectorMetricDescriptorMetadata {
    67  	return MetricDescriptorPathSelectorMetricDescriptorMetadata{}
    68  }
    69  func (MetricDescriptorFieldPathBuilder) DistributionBucketOptions() MetricDescriptorPathSelectorDistributionBucketOptions {
    70  	return MetricDescriptorPathSelectorDistributionBucketOptions{}
    71  }
    72  func (MetricDescriptorFieldPathBuilder) PromotedLabelKeySets() MetricDescriptorPathSelectorPromotedLabelKeySets {
    73  	return MetricDescriptorPathSelectorPromotedLabelKeySets{}
    74  }
    75  func (MetricDescriptorFieldPathBuilder) IndexSpec() MetricDescriptorPathSelectorIndexSpec {
    76  	return MetricDescriptorPathSelectorIndexSpec{}
    77  }
    78  func (MetricDescriptorFieldPathBuilder) StorageConfig() MetricDescriptorPathSelectorStorageConfig {
    79  	return MetricDescriptorPathSelectorStorageConfig{}
    80  }
    81  
    82  type MetricDescriptorPathSelectorMetadata struct{}
    83  
    84  func (MetricDescriptorPathSelectorMetadata) FieldPath() *MetricDescriptor_FieldTerminalPath {
    85  	return &MetricDescriptor_FieldTerminalPath{selector: MetricDescriptor_FieldPathSelectorMetadata}
    86  }
    87  
    88  func (s MetricDescriptorPathSelectorMetadata) WithValue(value *meta.Meta) *MetricDescriptor_FieldTerminalPathValue {
    89  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldTerminalPathValue)
    90  }
    91  
    92  func (s MetricDescriptorPathSelectorMetadata) WithArrayOfValues(values []*meta.Meta) *MetricDescriptor_FieldTerminalPathArrayOfValues {
    93  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldTerminalPathArrayOfValues)
    94  }
    95  
    96  func (MetricDescriptorPathSelectorMetadata) WithSubPath(subPath meta.Meta_FieldPath) *MetricDescriptor_FieldSubPath {
    97  	return &MetricDescriptor_FieldSubPath{selector: MetricDescriptor_FieldPathSelectorMetadata, subPath: subPath}
    98  }
    99  
   100  func (s MetricDescriptorPathSelectorMetadata) WithSubValue(subPathValue meta.Meta_FieldPathValue) *MetricDescriptor_FieldSubPathValue {
   101  	return &MetricDescriptor_FieldSubPathValue{MetricDescriptor_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue}
   102  }
   103  
   104  func (s MetricDescriptorPathSelectorMetadata) WithSubArrayOfValues(subPathArrayOfValues meta.Meta_FieldPathArrayOfValues) *MetricDescriptor_FieldSubPathArrayOfValues {
   105  	return &MetricDescriptor_FieldSubPathArrayOfValues{MetricDescriptor_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues}
   106  }
   107  
   108  func (s MetricDescriptorPathSelectorMetadata) WithSubArrayItemValue(subPathArrayItemValue meta.Meta_FieldPathArrayItemValue) *MetricDescriptor_FieldSubPathArrayItemValue {
   109  	return &MetricDescriptor_FieldSubPathArrayItemValue{MetricDescriptor_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue}
   110  }
   111  
   112  func (MetricDescriptorPathSelectorMetadata) CreateTime() MetricDescriptorPathSelectorMetadataCreateTime {
   113  	return MetricDescriptorPathSelectorMetadataCreateTime{}
   114  }
   115  
   116  func (MetricDescriptorPathSelectorMetadata) UpdateTime() MetricDescriptorPathSelectorMetadataUpdateTime {
   117  	return MetricDescriptorPathSelectorMetadataUpdateTime{}
   118  }
   119  
   120  func (MetricDescriptorPathSelectorMetadata) DeleteTime() MetricDescriptorPathSelectorMetadataDeleteTime {
   121  	return MetricDescriptorPathSelectorMetadataDeleteTime{}
   122  }
   123  
   124  func (MetricDescriptorPathSelectorMetadata) Uuid() MetricDescriptorPathSelectorMetadataUuid {
   125  	return MetricDescriptorPathSelectorMetadataUuid{}
   126  }
   127  
   128  func (MetricDescriptorPathSelectorMetadata) Tags() MetricDescriptorPathSelectorMetadataTags {
   129  	return MetricDescriptorPathSelectorMetadataTags{}
   130  }
   131  
   132  func (MetricDescriptorPathSelectorMetadata) Labels() MetricDescriptorPathSelectorMetadataLabels {
   133  	return MetricDescriptorPathSelectorMetadataLabels{}
   134  }
   135  
   136  func (MetricDescriptorPathSelectorMetadata) Annotations() MetricDescriptorPathSelectorMetadataAnnotations {
   137  	return MetricDescriptorPathSelectorMetadataAnnotations{}
   138  }
   139  
   140  func (MetricDescriptorPathSelectorMetadata) Generation() MetricDescriptorPathSelectorMetadataGeneration {
   141  	return MetricDescriptorPathSelectorMetadataGeneration{}
   142  }
   143  
   144  func (MetricDescriptorPathSelectorMetadata) ResourceVersion() MetricDescriptorPathSelectorMetadataResourceVersion {
   145  	return MetricDescriptorPathSelectorMetadataResourceVersion{}
   146  }
   147  
   148  func (MetricDescriptorPathSelectorMetadata) OwnerReferences() MetricDescriptorPathSelectorMetadataOwnerReferences {
   149  	return MetricDescriptorPathSelectorMetadataOwnerReferences{}
   150  }
   151  
   152  func (MetricDescriptorPathSelectorMetadata) Shards() MetricDescriptorPathSelectorMetadataShards {
   153  	return MetricDescriptorPathSelectorMetadataShards{}
   154  }
   155  
   156  func (MetricDescriptorPathSelectorMetadata) Syncing() MetricDescriptorPathSelectorMetadataSyncing {
   157  	return MetricDescriptorPathSelectorMetadataSyncing{}
   158  }
   159  
   160  func (MetricDescriptorPathSelectorMetadata) Lifecycle() MetricDescriptorPathSelectorMetadataLifecycle {
   161  	return MetricDescriptorPathSelectorMetadataLifecycle{}
   162  }
   163  
   164  func (MetricDescriptorPathSelectorMetadata) Services() MetricDescriptorPathSelectorMetadataServices {
   165  	return MetricDescriptorPathSelectorMetadataServices{}
   166  }
   167  
   168  type MetricDescriptorPathSelectorMetadataCreateTime struct{}
   169  
   170  func (MetricDescriptorPathSelectorMetadataCreateTime) FieldPath() *MetricDescriptor_FieldSubPath {
   171  	return &MetricDescriptor_FieldSubPath{
   172  		selector: MetricDescriptor_FieldPathSelectorMetadata,
   173  		subPath:  meta.NewMetaFieldPathBuilder().CreateTime().FieldPath(),
   174  	}
   175  }
   176  
   177  func (s MetricDescriptorPathSelectorMetadataCreateTime) WithValue(value *timestamppb.Timestamp) *MetricDescriptor_FieldSubPathValue {
   178  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
   179  }
   180  
   181  func (s MetricDescriptorPathSelectorMetadataCreateTime) WithArrayOfValues(values []*timestamppb.Timestamp) *MetricDescriptor_FieldSubPathArrayOfValues {
   182  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
   183  }
   184  
   185  type MetricDescriptorPathSelectorMetadataUpdateTime struct{}
   186  
   187  func (MetricDescriptorPathSelectorMetadataUpdateTime) FieldPath() *MetricDescriptor_FieldSubPath {
   188  	return &MetricDescriptor_FieldSubPath{
   189  		selector: MetricDescriptor_FieldPathSelectorMetadata,
   190  		subPath:  meta.NewMetaFieldPathBuilder().UpdateTime().FieldPath(),
   191  	}
   192  }
   193  
   194  func (s MetricDescriptorPathSelectorMetadataUpdateTime) WithValue(value *timestamppb.Timestamp) *MetricDescriptor_FieldSubPathValue {
   195  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
   196  }
   197  
   198  func (s MetricDescriptorPathSelectorMetadataUpdateTime) WithArrayOfValues(values []*timestamppb.Timestamp) *MetricDescriptor_FieldSubPathArrayOfValues {
   199  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
   200  }
   201  
   202  type MetricDescriptorPathSelectorMetadataDeleteTime struct{}
   203  
   204  func (MetricDescriptorPathSelectorMetadataDeleteTime) FieldPath() *MetricDescriptor_FieldSubPath {
   205  	return &MetricDescriptor_FieldSubPath{
   206  		selector: MetricDescriptor_FieldPathSelectorMetadata,
   207  		subPath:  meta.NewMetaFieldPathBuilder().DeleteTime().FieldPath(),
   208  	}
   209  }
   210  
   211  func (s MetricDescriptorPathSelectorMetadataDeleteTime) WithValue(value *timestamppb.Timestamp) *MetricDescriptor_FieldSubPathValue {
   212  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
   213  }
   214  
   215  func (s MetricDescriptorPathSelectorMetadataDeleteTime) WithArrayOfValues(values []*timestamppb.Timestamp) *MetricDescriptor_FieldSubPathArrayOfValues {
   216  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
   217  }
   218  
   219  type MetricDescriptorPathSelectorMetadataUuid struct{}
   220  
   221  func (MetricDescriptorPathSelectorMetadataUuid) FieldPath() *MetricDescriptor_FieldSubPath {
   222  	return &MetricDescriptor_FieldSubPath{
   223  		selector: MetricDescriptor_FieldPathSelectorMetadata,
   224  		subPath:  meta.NewMetaFieldPathBuilder().Uuid().FieldPath(),
   225  	}
   226  }
   227  
   228  func (s MetricDescriptorPathSelectorMetadataUuid) WithValue(value string) *MetricDescriptor_FieldSubPathValue {
   229  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
   230  }
   231  
   232  func (s MetricDescriptorPathSelectorMetadataUuid) WithArrayOfValues(values []string) *MetricDescriptor_FieldSubPathArrayOfValues {
   233  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
   234  }
   235  
   236  type MetricDescriptorPathSelectorMetadataTags struct{}
   237  
   238  func (MetricDescriptorPathSelectorMetadataTags) FieldPath() *MetricDescriptor_FieldSubPath {
   239  	return &MetricDescriptor_FieldSubPath{
   240  		selector: MetricDescriptor_FieldPathSelectorMetadata,
   241  		subPath:  meta.NewMetaFieldPathBuilder().Tags().FieldPath(),
   242  	}
   243  }
   244  
   245  func (s MetricDescriptorPathSelectorMetadataTags) WithValue(value []string) *MetricDescriptor_FieldSubPathValue {
   246  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
   247  }
   248  
   249  func (s MetricDescriptorPathSelectorMetadataTags) WithArrayOfValues(values [][]string) *MetricDescriptor_FieldSubPathArrayOfValues {
   250  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
   251  }
   252  
   253  func (s MetricDescriptorPathSelectorMetadataTags) WithItemValue(value string) *MetricDescriptor_FieldSubPathArrayItemValue {
   254  	return s.FieldPath().WithIArrayItemValue(value).(*MetricDescriptor_FieldSubPathArrayItemValue)
   255  }
   256  
   257  type MetricDescriptorPathSelectorMetadataLabels struct{}
   258  
   259  func (MetricDescriptorPathSelectorMetadataLabels) FieldPath() *MetricDescriptor_FieldSubPath {
   260  	return &MetricDescriptor_FieldSubPath{
   261  		selector: MetricDescriptor_FieldPathSelectorMetadata,
   262  		subPath:  meta.NewMetaFieldPathBuilder().Labels().FieldPath(),
   263  	}
   264  }
   265  
   266  func (s MetricDescriptorPathSelectorMetadataLabels) WithValue(value map[string]string) *MetricDescriptor_FieldSubPathValue {
   267  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
   268  }
   269  
   270  func (s MetricDescriptorPathSelectorMetadataLabels) WithArrayOfValues(values []map[string]string) *MetricDescriptor_FieldSubPathArrayOfValues {
   271  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
   272  }
   273  
   274  func (MetricDescriptorPathSelectorMetadataLabels) WithKey(key string) MetricDescriptorMapPathSelectorMetadataLabels {
   275  	return MetricDescriptorMapPathSelectorMetadataLabels{key: key}
   276  }
   277  
   278  type MetricDescriptorMapPathSelectorMetadataLabels struct {
   279  	key string
   280  }
   281  
   282  func (s MetricDescriptorMapPathSelectorMetadataLabels) FieldPath() *MetricDescriptor_FieldSubPath {
   283  	return &MetricDescriptor_FieldSubPath{
   284  		selector: MetricDescriptor_FieldPathSelectorMetadata,
   285  		subPath:  meta.NewMetaFieldPathBuilder().Labels().WithKey(s.key).FieldPath(),
   286  	}
   287  }
   288  
   289  func (s MetricDescriptorMapPathSelectorMetadataLabels) WithValue(value string) *MetricDescriptor_FieldSubPathValue {
   290  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
   291  }
   292  
   293  func (s MetricDescriptorMapPathSelectorMetadataLabels) WithArrayOfValues(values []string) *MetricDescriptor_FieldSubPathArrayOfValues {
   294  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
   295  }
   296  
   297  type MetricDescriptorPathSelectorMetadataAnnotations struct{}
   298  
   299  func (MetricDescriptorPathSelectorMetadataAnnotations) FieldPath() *MetricDescriptor_FieldSubPath {
   300  	return &MetricDescriptor_FieldSubPath{
   301  		selector: MetricDescriptor_FieldPathSelectorMetadata,
   302  		subPath:  meta.NewMetaFieldPathBuilder().Annotations().FieldPath(),
   303  	}
   304  }
   305  
   306  func (s MetricDescriptorPathSelectorMetadataAnnotations) WithValue(value map[string]string) *MetricDescriptor_FieldSubPathValue {
   307  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
   308  }
   309  
   310  func (s MetricDescriptorPathSelectorMetadataAnnotations) WithArrayOfValues(values []map[string]string) *MetricDescriptor_FieldSubPathArrayOfValues {
   311  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
   312  }
   313  
   314  func (MetricDescriptorPathSelectorMetadataAnnotations) WithKey(key string) MetricDescriptorMapPathSelectorMetadataAnnotations {
   315  	return MetricDescriptorMapPathSelectorMetadataAnnotations{key: key}
   316  }
   317  
   318  type MetricDescriptorMapPathSelectorMetadataAnnotations struct {
   319  	key string
   320  }
   321  
   322  func (s MetricDescriptorMapPathSelectorMetadataAnnotations) FieldPath() *MetricDescriptor_FieldSubPath {
   323  	return &MetricDescriptor_FieldSubPath{
   324  		selector: MetricDescriptor_FieldPathSelectorMetadata,
   325  		subPath:  meta.NewMetaFieldPathBuilder().Annotations().WithKey(s.key).FieldPath(),
   326  	}
   327  }
   328  
   329  func (s MetricDescriptorMapPathSelectorMetadataAnnotations) WithValue(value string) *MetricDescriptor_FieldSubPathValue {
   330  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
   331  }
   332  
   333  func (s MetricDescriptorMapPathSelectorMetadataAnnotations) WithArrayOfValues(values []string) *MetricDescriptor_FieldSubPathArrayOfValues {
   334  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
   335  }
   336  
   337  type MetricDescriptorPathSelectorMetadataGeneration struct{}
   338  
   339  func (MetricDescriptorPathSelectorMetadataGeneration) FieldPath() *MetricDescriptor_FieldSubPath {
   340  	return &MetricDescriptor_FieldSubPath{
   341  		selector: MetricDescriptor_FieldPathSelectorMetadata,
   342  		subPath:  meta.NewMetaFieldPathBuilder().Generation().FieldPath(),
   343  	}
   344  }
   345  
   346  func (s MetricDescriptorPathSelectorMetadataGeneration) WithValue(value int64) *MetricDescriptor_FieldSubPathValue {
   347  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
   348  }
   349  
   350  func (s MetricDescriptorPathSelectorMetadataGeneration) WithArrayOfValues(values []int64) *MetricDescriptor_FieldSubPathArrayOfValues {
   351  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
   352  }
   353  
   354  type MetricDescriptorPathSelectorMetadataResourceVersion struct{}
   355  
   356  func (MetricDescriptorPathSelectorMetadataResourceVersion) FieldPath() *MetricDescriptor_FieldSubPath {
   357  	return &MetricDescriptor_FieldSubPath{
   358  		selector: MetricDescriptor_FieldPathSelectorMetadata,
   359  		subPath:  meta.NewMetaFieldPathBuilder().ResourceVersion().FieldPath(),
   360  	}
   361  }
   362  
   363  func (s MetricDescriptorPathSelectorMetadataResourceVersion) WithValue(value string) *MetricDescriptor_FieldSubPathValue {
   364  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
   365  }
   366  
   367  func (s MetricDescriptorPathSelectorMetadataResourceVersion) WithArrayOfValues(values []string) *MetricDescriptor_FieldSubPathArrayOfValues {
   368  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
   369  }
   370  
   371  type MetricDescriptorPathSelectorMetadataOwnerReferences struct{}
   372  
   373  func (MetricDescriptorPathSelectorMetadataOwnerReferences) FieldPath() *MetricDescriptor_FieldSubPath {
   374  	return &MetricDescriptor_FieldSubPath{
   375  		selector: MetricDescriptor_FieldPathSelectorMetadata,
   376  		subPath:  meta.NewMetaFieldPathBuilder().OwnerReferences().FieldPath(),
   377  	}
   378  }
   379  
   380  func (s MetricDescriptorPathSelectorMetadataOwnerReferences) WithValue(value []*meta.OwnerReference) *MetricDescriptor_FieldSubPathValue {
   381  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
   382  }
   383  
   384  func (s MetricDescriptorPathSelectorMetadataOwnerReferences) WithArrayOfValues(values [][]*meta.OwnerReference) *MetricDescriptor_FieldSubPathArrayOfValues {
   385  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
   386  }
   387  
   388  func (s MetricDescriptorPathSelectorMetadataOwnerReferences) WithItemValue(value *meta.OwnerReference) *MetricDescriptor_FieldSubPathArrayItemValue {
   389  	return s.FieldPath().WithIArrayItemValue(value).(*MetricDescriptor_FieldSubPathArrayItemValue)
   390  }
   391  
   392  func (MetricDescriptorPathSelectorMetadataOwnerReferences) Kind() MetricDescriptorPathSelectorMetadataOwnerReferencesKind {
   393  	return MetricDescriptorPathSelectorMetadataOwnerReferencesKind{}
   394  }
   395  
   396  func (MetricDescriptorPathSelectorMetadataOwnerReferences) Version() MetricDescriptorPathSelectorMetadataOwnerReferencesVersion {
   397  	return MetricDescriptorPathSelectorMetadataOwnerReferencesVersion{}
   398  }
   399  
   400  func (MetricDescriptorPathSelectorMetadataOwnerReferences) Name() MetricDescriptorPathSelectorMetadataOwnerReferencesName {
   401  	return MetricDescriptorPathSelectorMetadataOwnerReferencesName{}
   402  }
   403  
   404  func (MetricDescriptorPathSelectorMetadataOwnerReferences) Region() MetricDescriptorPathSelectorMetadataOwnerReferencesRegion {
   405  	return MetricDescriptorPathSelectorMetadataOwnerReferencesRegion{}
   406  }
   407  
   408  func (MetricDescriptorPathSelectorMetadataOwnerReferences) Controller() MetricDescriptorPathSelectorMetadataOwnerReferencesController {
   409  	return MetricDescriptorPathSelectorMetadataOwnerReferencesController{}
   410  }
   411  
   412  func (MetricDescriptorPathSelectorMetadataOwnerReferences) RequiresOwnerReference() MetricDescriptorPathSelectorMetadataOwnerReferencesRequiresOwnerReference {
   413  	return MetricDescriptorPathSelectorMetadataOwnerReferencesRequiresOwnerReference{}
   414  }
   415  
   416  func (MetricDescriptorPathSelectorMetadataOwnerReferences) UnsetOnDelete() MetricDescriptorPathSelectorMetadataOwnerReferencesUnsetOnDelete {
   417  	return MetricDescriptorPathSelectorMetadataOwnerReferencesUnsetOnDelete{}
   418  }
   419  
   420  type MetricDescriptorPathSelectorMetadataOwnerReferencesKind struct{}
   421  
   422  func (MetricDescriptorPathSelectorMetadataOwnerReferencesKind) FieldPath() *MetricDescriptor_FieldSubPath {
   423  	return &MetricDescriptor_FieldSubPath{
   424  		selector: MetricDescriptor_FieldPathSelectorMetadata,
   425  		subPath:  meta.NewMetaFieldPathBuilder().OwnerReferences().Kind().FieldPath(),
   426  	}
   427  }
   428  
   429  func (s MetricDescriptorPathSelectorMetadataOwnerReferencesKind) WithValue(value string) *MetricDescriptor_FieldSubPathValue {
   430  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
   431  }
   432  
   433  func (s MetricDescriptorPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues(values []string) *MetricDescriptor_FieldSubPathArrayOfValues {
   434  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
   435  }
   436  
   437  type MetricDescriptorPathSelectorMetadataOwnerReferencesVersion struct{}
   438  
   439  func (MetricDescriptorPathSelectorMetadataOwnerReferencesVersion) FieldPath() *MetricDescriptor_FieldSubPath {
   440  	return &MetricDescriptor_FieldSubPath{
   441  		selector: MetricDescriptor_FieldPathSelectorMetadata,
   442  		subPath:  meta.NewMetaFieldPathBuilder().OwnerReferences().Version().FieldPath(),
   443  	}
   444  }
   445  
   446  func (s MetricDescriptorPathSelectorMetadataOwnerReferencesVersion) WithValue(value string) *MetricDescriptor_FieldSubPathValue {
   447  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
   448  }
   449  
   450  func (s MetricDescriptorPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues(values []string) *MetricDescriptor_FieldSubPathArrayOfValues {
   451  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
   452  }
   453  
   454  type MetricDescriptorPathSelectorMetadataOwnerReferencesName struct{}
   455  
   456  func (MetricDescriptorPathSelectorMetadataOwnerReferencesName) FieldPath() *MetricDescriptor_FieldSubPath {
   457  	return &MetricDescriptor_FieldSubPath{
   458  		selector: MetricDescriptor_FieldPathSelectorMetadata,
   459  		subPath:  meta.NewMetaFieldPathBuilder().OwnerReferences().Name().FieldPath(),
   460  	}
   461  }
   462  
   463  func (s MetricDescriptorPathSelectorMetadataOwnerReferencesName) WithValue(value string) *MetricDescriptor_FieldSubPathValue {
   464  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
   465  }
   466  
   467  func (s MetricDescriptorPathSelectorMetadataOwnerReferencesName) WithArrayOfValues(values []string) *MetricDescriptor_FieldSubPathArrayOfValues {
   468  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
   469  }
   470  
   471  type MetricDescriptorPathSelectorMetadataOwnerReferencesRegion struct{}
   472  
   473  func (MetricDescriptorPathSelectorMetadataOwnerReferencesRegion) FieldPath() *MetricDescriptor_FieldSubPath {
   474  	return &MetricDescriptor_FieldSubPath{
   475  		selector: MetricDescriptor_FieldPathSelectorMetadata,
   476  		subPath:  meta.NewMetaFieldPathBuilder().OwnerReferences().Region().FieldPath(),
   477  	}
   478  }
   479  
   480  func (s MetricDescriptorPathSelectorMetadataOwnerReferencesRegion) WithValue(value string) *MetricDescriptor_FieldSubPathValue {
   481  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
   482  }
   483  
   484  func (s MetricDescriptorPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues(values []string) *MetricDescriptor_FieldSubPathArrayOfValues {
   485  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
   486  }
   487  
   488  type MetricDescriptorPathSelectorMetadataOwnerReferencesController struct{}
   489  
   490  func (MetricDescriptorPathSelectorMetadataOwnerReferencesController) FieldPath() *MetricDescriptor_FieldSubPath {
   491  	return &MetricDescriptor_FieldSubPath{
   492  		selector: MetricDescriptor_FieldPathSelectorMetadata,
   493  		subPath:  meta.NewMetaFieldPathBuilder().OwnerReferences().Controller().FieldPath(),
   494  	}
   495  }
   496  
   497  func (s MetricDescriptorPathSelectorMetadataOwnerReferencesController) WithValue(value bool) *MetricDescriptor_FieldSubPathValue {
   498  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
   499  }
   500  
   501  func (s MetricDescriptorPathSelectorMetadataOwnerReferencesController) WithArrayOfValues(values []bool) *MetricDescriptor_FieldSubPathArrayOfValues {
   502  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
   503  }
   504  
   505  type MetricDescriptorPathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{}
   506  
   507  func (MetricDescriptorPathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath() *MetricDescriptor_FieldSubPath {
   508  	return &MetricDescriptor_FieldSubPath{
   509  		selector: MetricDescriptor_FieldPathSelectorMetadata,
   510  		subPath:  meta.NewMetaFieldPathBuilder().OwnerReferences().RequiresOwnerReference().FieldPath(),
   511  	}
   512  }
   513  
   514  func (s MetricDescriptorPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue(value bool) *MetricDescriptor_FieldSubPathValue {
   515  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
   516  }
   517  
   518  func (s MetricDescriptorPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues(values []bool) *MetricDescriptor_FieldSubPathArrayOfValues {
   519  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
   520  }
   521  
   522  type MetricDescriptorPathSelectorMetadataOwnerReferencesUnsetOnDelete struct{}
   523  
   524  func (MetricDescriptorPathSelectorMetadataOwnerReferencesUnsetOnDelete) FieldPath() *MetricDescriptor_FieldSubPath {
   525  	return &MetricDescriptor_FieldSubPath{
   526  		selector: MetricDescriptor_FieldPathSelectorMetadata,
   527  		subPath:  meta.NewMetaFieldPathBuilder().OwnerReferences().UnsetOnDelete().FieldPath(),
   528  	}
   529  }
   530  
   531  func (s MetricDescriptorPathSelectorMetadataOwnerReferencesUnsetOnDelete) WithValue(value bool) *MetricDescriptor_FieldSubPathValue {
   532  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
   533  }
   534  
   535  func (s MetricDescriptorPathSelectorMetadataOwnerReferencesUnsetOnDelete) WithArrayOfValues(values []bool) *MetricDescriptor_FieldSubPathArrayOfValues {
   536  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
   537  }
   538  
   539  type MetricDescriptorPathSelectorMetadataShards struct{}
   540  
   541  func (MetricDescriptorPathSelectorMetadataShards) FieldPath() *MetricDescriptor_FieldSubPath {
   542  	return &MetricDescriptor_FieldSubPath{
   543  		selector: MetricDescriptor_FieldPathSelectorMetadata,
   544  		subPath:  meta.NewMetaFieldPathBuilder().Shards().FieldPath(),
   545  	}
   546  }
   547  
   548  func (s MetricDescriptorPathSelectorMetadataShards) WithValue(value map[string]int64) *MetricDescriptor_FieldSubPathValue {
   549  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
   550  }
   551  
   552  func (s MetricDescriptorPathSelectorMetadataShards) WithArrayOfValues(values []map[string]int64) *MetricDescriptor_FieldSubPathArrayOfValues {
   553  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
   554  }
   555  
   556  func (MetricDescriptorPathSelectorMetadataShards) WithKey(key string) MetricDescriptorMapPathSelectorMetadataShards {
   557  	return MetricDescriptorMapPathSelectorMetadataShards{key: key}
   558  }
   559  
   560  type MetricDescriptorMapPathSelectorMetadataShards struct {
   561  	key string
   562  }
   563  
   564  func (s MetricDescriptorMapPathSelectorMetadataShards) FieldPath() *MetricDescriptor_FieldSubPath {
   565  	return &MetricDescriptor_FieldSubPath{
   566  		selector: MetricDescriptor_FieldPathSelectorMetadata,
   567  		subPath:  meta.NewMetaFieldPathBuilder().Shards().WithKey(s.key).FieldPath(),
   568  	}
   569  }
   570  
   571  func (s MetricDescriptorMapPathSelectorMetadataShards) WithValue(value int64) *MetricDescriptor_FieldSubPathValue {
   572  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
   573  }
   574  
   575  func (s MetricDescriptorMapPathSelectorMetadataShards) WithArrayOfValues(values []int64) *MetricDescriptor_FieldSubPathArrayOfValues {
   576  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
   577  }
   578  
   579  type MetricDescriptorPathSelectorMetadataSyncing struct{}
   580  
   581  func (MetricDescriptorPathSelectorMetadataSyncing) FieldPath() *MetricDescriptor_FieldSubPath {
   582  	return &MetricDescriptor_FieldSubPath{
   583  		selector: MetricDescriptor_FieldPathSelectorMetadata,
   584  		subPath:  meta.NewMetaFieldPathBuilder().Syncing().FieldPath(),
   585  	}
   586  }
   587  
   588  func (s MetricDescriptorPathSelectorMetadataSyncing) WithValue(value *meta.SyncingMeta) *MetricDescriptor_FieldSubPathValue {
   589  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
   590  }
   591  
   592  func (s MetricDescriptorPathSelectorMetadataSyncing) WithArrayOfValues(values []*meta.SyncingMeta) *MetricDescriptor_FieldSubPathArrayOfValues {
   593  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
   594  }
   595  
   596  func (MetricDescriptorPathSelectorMetadataSyncing) OwningRegion() MetricDescriptorPathSelectorMetadataSyncingOwningRegion {
   597  	return MetricDescriptorPathSelectorMetadataSyncingOwningRegion{}
   598  }
   599  
   600  func (MetricDescriptorPathSelectorMetadataSyncing) Regions() MetricDescriptorPathSelectorMetadataSyncingRegions {
   601  	return MetricDescriptorPathSelectorMetadataSyncingRegions{}
   602  }
   603  
   604  type MetricDescriptorPathSelectorMetadataSyncingOwningRegion struct{}
   605  
   606  func (MetricDescriptorPathSelectorMetadataSyncingOwningRegion) FieldPath() *MetricDescriptor_FieldSubPath {
   607  	return &MetricDescriptor_FieldSubPath{
   608  		selector: MetricDescriptor_FieldPathSelectorMetadata,
   609  		subPath:  meta.NewMetaFieldPathBuilder().Syncing().OwningRegion().FieldPath(),
   610  	}
   611  }
   612  
   613  func (s MetricDescriptorPathSelectorMetadataSyncingOwningRegion) WithValue(value string) *MetricDescriptor_FieldSubPathValue {
   614  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
   615  }
   616  
   617  func (s MetricDescriptorPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues(values []string) *MetricDescriptor_FieldSubPathArrayOfValues {
   618  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
   619  }
   620  
   621  type MetricDescriptorPathSelectorMetadataSyncingRegions struct{}
   622  
   623  func (MetricDescriptorPathSelectorMetadataSyncingRegions) FieldPath() *MetricDescriptor_FieldSubPath {
   624  	return &MetricDescriptor_FieldSubPath{
   625  		selector: MetricDescriptor_FieldPathSelectorMetadata,
   626  		subPath:  meta.NewMetaFieldPathBuilder().Syncing().Regions().FieldPath(),
   627  	}
   628  }
   629  
   630  func (s MetricDescriptorPathSelectorMetadataSyncingRegions) WithValue(value []string) *MetricDescriptor_FieldSubPathValue {
   631  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
   632  }
   633  
   634  func (s MetricDescriptorPathSelectorMetadataSyncingRegions) WithArrayOfValues(values [][]string) *MetricDescriptor_FieldSubPathArrayOfValues {
   635  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
   636  }
   637  
   638  func (s MetricDescriptorPathSelectorMetadataSyncingRegions) WithItemValue(value string) *MetricDescriptor_FieldSubPathArrayItemValue {
   639  	return s.FieldPath().WithIArrayItemValue(value).(*MetricDescriptor_FieldSubPathArrayItemValue)
   640  }
   641  
   642  type MetricDescriptorPathSelectorMetadataLifecycle struct{}
   643  
   644  func (MetricDescriptorPathSelectorMetadataLifecycle) FieldPath() *MetricDescriptor_FieldSubPath {
   645  	return &MetricDescriptor_FieldSubPath{
   646  		selector: MetricDescriptor_FieldPathSelectorMetadata,
   647  		subPath:  meta.NewMetaFieldPathBuilder().Lifecycle().FieldPath(),
   648  	}
   649  }
   650  
   651  func (s MetricDescriptorPathSelectorMetadataLifecycle) WithValue(value *meta.Lifecycle) *MetricDescriptor_FieldSubPathValue {
   652  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
   653  }
   654  
   655  func (s MetricDescriptorPathSelectorMetadataLifecycle) WithArrayOfValues(values []*meta.Lifecycle) *MetricDescriptor_FieldSubPathArrayOfValues {
   656  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
   657  }
   658  
   659  func (MetricDescriptorPathSelectorMetadataLifecycle) State() MetricDescriptorPathSelectorMetadataLifecycleState {
   660  	return MetricDescriptorPathSelectorMetadataLifecycleState{}
   661  }
   662  
   663  func (MetricDescriptorPathSelectorMetadataLifecycle) BlockDeletion() MetricDescriptorPathSelectorMetadataLifecycleBlockDeletion {
   664  	return MetricDescriptorPathSelectorMetadataLifecycleBlockDeletion{}
   665  }
   666  
   667  type MetricDescriptorPathSelectorMetadataLifecycleState struct{}
   668  
   669  func (MetricDescriptorPathSelectorMetadataLifecycleState) FieldPath() *MetricDescriptor_FieldSubPath {
   670  	return &MetricDescriptor_FieldSubPath{
   671  		selector: MetricDescriptor_FieldPathSelectorMetadata,
   672  		subPath:  meta.NewMetaFieldPathBuilder().Lifecycle().State().FieldPath(),
   673  	}
   674  }
   675  
   676  func (s MetricDescriptorPathSelectorMetadataLifecycleState) WithValue(value meta.Lifecycle_State) *MetricDescriptor_FieldSubPathValue {
   677  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
   678  }
   679  
   680  func (s MetricDescriptorPathSelectorMetadataLifecycleState) WithArrayOfValues(values []meta.Lifecycle_State) *MetricDescriptor_FieldSubPathArrayOfValues {
   681  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
   682  }
   683  
   684  type MetricDescriptorPathSelectorMetadataLifecycleBlockDeletion struct{}
   685  
   686  func (MetricDescriptorPathSelectorMetadataLifecycleBlockDeletion) FieldPath() *MetricDescriptor_FieldSubPath {
   687  	return &MetricDescriptor_FieldSubPath{
   688  		selector: MetricDescriptor_FieldPathSelectorMetadata,
   689  		subPath:  meta.NewMetaFieldPathBuilder().Lifecycle().BlockDeletion().FieldPath(),
   690  	}
   691  }
   692  
   693  func (s MetricDescriptorPathSelectorMetadataLifecycleBlockDeletion) WithValue(value bool) *MetricDescriptor_FieldSubPathValue {
   694  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
   695  }
   696  
   697  func (s MetricDescriptorPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues(values []bool) *MetricDescriptor_FieldSubPathArrayOfValues {
   698  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
   699  }
   700  
   701  type MetricDescriptorPathSelectorMetadataServices struct{}
   702  
   703  func (MetricDescriptorPathSelectorMetadataServices) FieldPath() *MetricDescriptor_FieldSubPath {
   704  	return &MetricDescriptor_FieldSubPath{
   705  		selector: MetricDescriptor_FieldPathSelectorMetadata,
   706  		subPath:  meta.NewMetaFieldPathBuilder().Services().FieldPath(),
   707  	}
   708  }
   709  
   710  func (s MetricDescriptorPathSelectorMetadataServices) WithValue(value *meta.ServicesInfo) *MetricDescriptor_FieldSubPathValue {
   711  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
   712  }
   713  
   714  func (s MetricDescriptorPathSelectorMetadataServices) WithArrayOfValues(values []*meta.ServicesInfo) *MetricDescriptor_FieldSubPathArrayOfValues {
   715  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
   716  }
   717  
   718  func (MetricDescriptorPathSelectorMetadataServices) OwningService() MetricDescriptorPathSelectorMetadataServicesOwningService {
   719  	return MetricDescriptorPathSelectorMetadataServicesOwningService{}
   720  }
   721  
   722  func (MetricDescriptorPathSelectorMetadataServices) AllowedServices() MetricDescriptorPathSelectorMetadataServicesAllowedServices {
   723  	return MetricDescriptorPathSelectorMetadataServicesAllowedServices{}
   724  }
   725  
   726  type MetricDescriptorPathSelectorMetadataServicesOwningService struct{}
   727  
   728  func (MetricDescriptorPathSelectorMetadataServicesOwningService) FieldPath() *MetricDescriptor_FieldSubPath {
   729  	return &MetricDescriptor_FieldSubPath{
   730  		selector: MetricDescriptor_FieldPathSelectorMetadata,
   731  		subPath:  meta.NewMetaFieldPathBuilder().Services().OwningService().FieldPath(),
   732  	}
   733  }
   734  
   735  func (s MetricDescriptorPathSelectorMetadataServicesOwningService) WithValue(value string) *MetricDescriptor_FieldSubPathValue {
   736  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
   737  }
   738  
   739  func (s MetricDescriptorPathSelectorMetadataServicesOwningService) WithArrayOfValues(values []string) *MetricDescriptor_FieldSubPathArrayOfValues {
   740  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
   741  }
   742  
   743  type MetricDescriptorPathSelectorMetadataServicesAllowedServices struct{}
   744  
   745  func (MetricDescriptorPathSelectorMetadataServicesAllowedServices) FieldPath() *MetricDescriptor_FieldSubPath {
   746  	return &MetricDescriptor_FieldSubPath{
   747  		selector: MetricDescriptor_FieldPathSelectorMetadata,
   748  		subPath:  meta.NewMetaFieldPathBuilder().Services().AllowedServices().FieldPath(),
   749  	}
   750  }
   751  
   752  func (s MetricDescriptorPathSelectorMetadataServicesAllowedServices) WithValue(value []string) *MetricDescriptor_FieldSubPathValue {
   753  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
   754  }
   755  
   756  func (s MetricDescriptorPathSelectorMetadataServicesAllowedServices) WithArrayOfValues(values [][]string) *MetricDescriptor_FieldSubPathArrayOfValues {
   757  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
   758  }
   759  
   760  func (s MetricDescriptorPathSelectorMetadataServicesAllowedServices) WithItemValue(value string) *MetricDescriptor_FieldSubPathArrayItemValue {
   761  	return s.FieldPath().WithIArrayItemValue(value).(*MetricDescriptor_FieldSubPathArrayItemValue)
   762  }
   763  
   764  type MetricDescriptorPathSelectorName struct{}
   765  
   766  func (MetricDescriptorPathSelectorName) FieldPath() *MetricDescriptor_FieldTerminalPath {
   767  	return &MetricDescriptor_FieldTerminalPath{selector: MetricDescriptor_FieldPathSelectorName}
   768  }
   769  
   770  func (s MetricDescriptorPathSelectorName) WithValue(value *Name) *MetricDescriptor_FieldTerminalPathValue {
   771  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldTerminalPathValue)
   772  }
   773  
   774  func (s MetricDescriptorPathSelectorName) WithArrayOfValues(values []*Name) *MetricDescriptor_FieldTerminalPathArrayOfValues {
   775  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldTerminalPathArrayOfValues)
   776  }
   777  
   778  type MetricDescriptorPathSelectorType struct{}
   779  
   780  func (MetricDescriptorPathSelectorType) FieldPath() *MetricDescriptor_FieldTerminalPath {
   781  	return &MetricDescriptor_FieldTerminalPath{selector: MetricDescriptor_FieldPathSelectorType}
   782  }
   783  
   784  func (s MetricDescriptorPathSelectorType) WithValue(value string) *MetricDescriptor_FieldTerminalPathValue {
   785  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldTerminalPathValue)
   786  }
   787  
   788  func (s MetricDescriptorPathSelectorType) WithArrayOfValues(values []string) *MetricDescriptor_FieldTerminalPathArrayOfValues {
   789  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldTerminalPathArrayOfValues)
   790  }
   791  
   792  type MetricDescriptorPathSelectorResourceTypes struct{}
   793  
   794  func (MetricDescriptorPathSelectorResourceTypes) FieldPath() *MetricDescriptor_FieldTerminalPath {
   795  	return &MetricDescriptor_FieldTerminalPath{selector: MetricDescriptor_FieldPathSelectorResourceTypes}
   796  }
   797  
   798  func (s MetricDescriptorPathSelectorResourceTypes) WithValue(value []string) *MetricDescriptor_FieldTerminalPathValue {
   799  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldTerminalPathValue)
   800  }
   801  
   802  func (s MetricDescriptorPathSelectorResourceTypes) WithArrayOfValues(values [][]string) *MetricDescriptor_FieldTerminalPathArrayOfValues {
   803  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldTerminalPathArrayOfValues)
   804  }
   805  
   806  func (s MetricDescriptorPathSelectorResourceTypes) WithItemValue(value string) *MetricDescriptor_FieldTerminalPathArrayItemValue {
   807  	return s.FieldPath().WithIArrayItemValue(value).(*MetricDescriptor_FieldTerminalPathArrayItemValue)
   808  }
   809  
   810  type MetricDescriptorPathSelectorLabels struct{}
   811  
   812  func (MetricDescriptorPathSelectorLabels) FieldPath() *MetricDescriptor_FieldTerminalPath {
   813  	return &MetricDescriptor_FieldTerminalPath{selector: MetricDescriptor_FieldPathSelectorLabels}
   814  }
   815  
   816  func (s MetricDescriptorPathSelectorLabels) WithValue(value []*common.LabelDescriptor) *MetricDescriptor_FieldTerminalPathValue {
   817  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldTerminalPathValue)
   818  }
   819  
   820  func (s MetricDescriptorPathSelectorLabels) WithArrayOfValues(values [][]*common.LabelDescriptor) *MetricDescriptor_FieldTerminalPathArrayOfValues {
   821  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldTerminalPathArrayOfValues)
   822  }
   823  
   824  func (s MetricDescriptorPathSelectorLabels) WithItemValue(value *common.LabelDescriptor) *MetricDescriptor_FieldTerminalPathArrayItemValue {
   825  	return s.FieldPath().WithIArrayItemValue(value).(*MetricDescriptor_FieldTerminalPathArrayItemValue)
   826  }
   827  func (MetricDescriptorPathSelectorLabels) WithSubPath(subPath common.LabelDescriptor_FieldPath) *MetricDescriptor_FieldSubPath {
   828  	return &MetricDescriptor_FieldSubPath{selector: MetricDescriptor_FieldPathSelectorLabels, subPath: subPath}
   829  }
   830  
   831  func (s MetricDescriptorPathSelectorLabels) WithSubValue(subPathValue common.LabelDescriptor_FieldPathValue) *MetricDescriptor_FieldSubPathValue {
   832  	return &MetricDescriptor_FieldSubPathValue{MetricDescriptor_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue}
   833  }
   834  
   835  func (s MetricDescriptorPathSelectorLabels) WithSubArrayOfValues(subPathArrayOfValues common.LabelDescriptor_FieldPathArrayOfValues) *MetricDescriptor_FieldSubPathArrayOfValues {
   836  	return &MetricDescriptor_FieldSubPathArrayOfValues{MetricDescriptor_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues}
   837  }
   838  
   839  func (s MetricDescriptorPathSelectorLabels) WithSubArrayItemValue(subPathArrayItemValue common.LabelDescriptor_FieldPathArrayItemValue) *MetricDescriptor_FieldSubPathArrayItemValue {
   840  	return &MetricDescriptor_FieldSubPathArrayItemValue{MetricDescriptor_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue}
   841  }
   842  
   843  func (MetricDescriptorPathSelectorLabels) Key() MetricDescriptorPathSelectorLabelsKey {
   844  	return MetricDescriptorPathSelectorLabelsKey{}
   845  }
   846  
   847  func (MetricDescriptorPathSelectorLabels) ValueType() MetricDescriptorPathSelectorLabelsValueType {
   848  	return MetricDescriptorPathSelectorLabelsValueType{}
   849  }
   850  
   851  func (MetricDescriptorPathSelectorLabels) Description() MetricDescriptorPathSelectorLabelsDescription {
   852  	return MetricDescriptorPathSelectorLabelsDescription{}
   853  }
   854  
   855  func (MetricDescriptorPathSelectorLabels) DefaultValue() MetricDescriptorPathSelectorLabelsDefaultValue {
   856  	return MetricDescriptorPathSelectorLabelsDefaultValue{}
   857  }
   858  
   859  func (MetricDescriptorPathSelectorLabels) Disabled() MetricDescriptorPathSelectorLabelsDisabled {
   860  	return MetricDescriptorPathSelectorLabelsDisabled{}
   861  }
   862  
   863  type MetricDescriptorPathSelectorLabelsKey struct{}
   864  
   865  func (MetricDescriptorPathSelectorLabelsKey) FieldPath() *MetricDescriptor_FieldSubPath {
   866  	return &MetricDescriptor_FieldSubPath{
   867  		selector: MetricDescriptor_FieldPathSelectorLabels,
   868  		subPath:  common.NewLabelDescriptorFieldPathBuilder().Key().FieldPath(),
   869  	}
   870  }
   871  
   872  func (s MetricDescriptorPathSelectorLabelsKey) WithValue(value string) *MetricDescriptor_FieldSubPathValue {
   873  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
   874  }
   875  
   876  func (s MetricDescriptorPathSelectorLabelsKey) WithArrayOfValues(values []string) *MetricDescriptor_FieldSubPathArrayOfValues {
   877  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
   878  }
   879  
   880  type MetricDescriptorPathSelectorLabelsValueType struct{}
   881  
   882  func (MetricDescriptorPathSelectorLabelsValueType) FieldPath() *MetricDescriptor_FieldSubPath {
   883  	return &MetricDescriptor_FieldSubPath{
   884  		selector: MetricDescriptor_FieldPathSelectorLabels,
   885  		subPath:  common.NewLabelDescriptorFieldPathBuilder().ValueType().FieldPath(),
   886  	}
   887  }
   888  
   889  func (s MetricDescriptorPathSelectorLabelsValueType) WithValue(value common.LabelDescriptor_ValueType) *MetricDescriptor_FieldSubPathValue {
   890  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
   891  }
   892  
   893  func (s MetricDescriptorPathSelectorLabelsValueType) WithArrayOfValues(values []common.LabelDescriptor_ValueType) *MetricDescriptor_FieldSubPathArrayOfValues {
   894  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
   895  }
   896  
   897  type MetricDescriptorPathSelectorLabelsDescription struct{}
   898  
   899  func (MetricDescriptorPathSelectorLabelsDescription) FieldPath() *MetricDescriptor_FieldSubPath {
   900  	return &MetricDescriptor_FieldSubPath{
   901  		selector: MetricDescriptor_FieldPathSelectorLabels,
   902  		subPath:  common.NewLabelDescriptorFieldPathBuilder().Description().FieldPath(),
   903  	}
   904  }
   905  
   906  func (s MetricDescriptorPathSelectorLabelsDescription) WithValue(value string) *MetricDescriptor_FieldSubPathValue {
   907  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
   908  }
   909  
   910  func (s MetricDescriptorPathSelectorLabelsDescription) WithArrayOfValues(values []string) *MetricDescriptor_FieldSubPathArrayOfValues {
   911  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
   912  }
   913  
   914  type MetricDescriptorPathSelectorLabelsDefaultValue struct{}
   915  
   916  func (MetricDescriptorPathSelectorLabelsDefaultValue) FieldPath() *MetricDescriptor_FieldSubPath {
   917  	return &MetricDescriptor_FieldSubPath{
   918  		selector: MetricDescriptor_FieldPathSelectorLabels,
   919  		subPath:  common.NewLabelDescriptorFieldPathBuilder().DefaultValue().FieldPath(),
   920  	}
   921  }
   922  
   923  func (s MetricDescriptorPathSelectorLabelsDefaultValue) WithValue(value string) *MetricDescriptor_FieldSubPathValue {
   924  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
   925  }
   926  
   927  func (s MetricDescriptorPathSelectorLabelsDefaultValue) WithArrayOfValues(values []string) *MetricDescriptor_FieldSubPathArrayOfValues {
   928  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
   929  }
   930  
   931  type MetricDescriptorPathSelectorLabelsDisabled struct{}
   932  
   933  func (MetricDescriptorPathSelectorLabelsDisabled) FieldPath() *MetricDescriptor_FieldSubPath {
   934  	return &MetricDescriptor_FieldSubPath{
   935  		selector: MetricDescriptor_FieldPathSelectorLabels,
   936  		subPath:  common.NewLabelDescriptorFieldPathBuilder().Disabled().FieldPath(),
   937  	}
   938  }
   939  
   940  func (s MetricDescriptorPathSelectorLabelsDisabled) WithValue(value bool) *MetricDescriptor_FieldSubPathValue {
   941  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
   942  }
   943  
   944  func (s MetricDescriptorPathSelectorLabelsDisabled) WithArrayOfValues(values []bool) *MetricDescriptor_FieldSubPathArrayOfValues {
   945  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
   946  }
   947  
   948  type MetricDescriptorPathSelectorMetricKind struct{}
   949  
   950  func (MetricDescriptorPathSelectorMetricKind) FieldPath() *MetricDescriptor_FieldTerminalPath {
   951  	return &MetricDescriptor_FieldTerminalPath{selector: MetricDescriptor_FieldPathSelectorMetricKind}
   952  }
   953  
   954  func (s MetricDescriptorPathSelectorMetricKind) WithValue(value MetricDescriptor_MetricKind) *MetricDescriptor_FieldTerminalPathValue {
   955  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldTerminalPathValue)
   956  }
   957  
   958  func (s MetricDescriptorPathSelectorMetricKind) WithArrayOfValues(values []MetricDescriptor_MetricKind) *MetricDescriptor_FieldTerminalPathArrayOfValues {
   959  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldTerminalPathArrayOfValues)
   960  }
   961  
   962  type MetricDescriptorPathSelectorValueType struct{}
   963  
   964  func (MetricDescriptorPathSelectorValueType) FieldPath() *MetricDescriptor_FieldTerminalPath {
   965  	return &MetricDescriptor_FieldTerminalPath{selector: MetricDescriptor_FieldPathSelectorValueType}
   966  }
   967  
   968  func (s MetricDescriptorPathSelectorValueType) WithValue(value MetricDescriptor_ValueType) *MetricDescriptor_FieldTerminalPathValue {
   969  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldTerminalPathValue)
   970  }
   971  
   972  func (s MetricDescriptorPathSelectorValueType) WithArrayOfValues(values []MetricDescriptor_ValueType) *MetricDescriptor_FieldTerminalPathArrayOfValues {
   973  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldTerminalPathArrayOfValues)
   974  }
   975  
   976  type MetricDescriptorPathSelectorUnit struct{}
   977  
   978  func (MetricDescriptorPathSelectorUnit) FieldPath() *MetricDescriptor_FieldTerminalPath {
   979  	return &MetricDescriptor_FieldTerminalPath{selector: MetricDescriptor_FieldPathSelectorUnit}
   980  }
   981  
   982  func (s MetricDescriptorPathSelectorUnit) WithValue(value string) *MetricDescriptor_FieldTerminalPathValue {
   983  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldTerminalPathValue)
   984  }
   985  
   986  func (s MetricDescriptorPathSelectorUnit) WithArrayOfValues(values []string) *MetricDescriptor_FieldTerminalPathArrayOfValues {
   987  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldTerminalPathArrayOfValues)
   988  }
   989  
   990  type MetricDescriptorPathSelectorDescription struct{}
   991  
   992  func (MetricDescriptorPathSelectorDescription) FieldPath() *MetricDescriptor_FieldTerminalPath {
   993  	return &MetricDescriptor_FieldTerminalPath{selector: MetricDescriptor_FieldPathSelectorDescription}
   994  }
   995  
   996  func (s MetricDescriptorPathSelectorDescription) WithValue(value string) *MetricDescriptor_FieldTerminalPathValue {
   997  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldTerminalPathValue)
   998  }
   999  
  1000  func (s MetricDescriptorPathSelectorDescription) WithArrayOfValues(values []string) *MetricDescriptor_FieldTerminalPathArrayOfValues {
  1001  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldTerminalPathArrayOfValues)
  1002  }
  1003  
  1004  type MetricDescriptorPathSelectorDisplayName struct{}
  1005  
  1006  func (MetricDescriptorPathSelectorDisplayName) FieldPath() *MetricDescriptor_FieldTerminalPath {
  1007  	return &MetricDescriptor_FieldTerminalPath{selector: MetricDescriptor_FieldPathSelectorDisplayName}
  1008  }
  1009  
  1010  func (s MetricDescriptorPathSelectorDisplayName) WithValue(value string) *MetricDescriptor_FieldTerminalPathValue {
  1011  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldTerminalPathValue)
  1012  }
  1013  
  1014  func (s MetricDescriptorPathSelectorDisplayName) WithArrayOfValues(values []string) *MetricDescriptor_FieldTerminalPathArrayOfValues {
  1015  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldTerminalPathArrayOfValues)
  1016  }
  1017  
  1018  type MetricDescriptorPathSelectorMetricDescriptorMetadata struct{}
  1019  
  1020  func (MetricDescriptorPathSelectorMetricDescriptorMetadata) FieldPath() *MetricDescriptor_FieldTerminalPath {
  1021  	return &MetricDescriptor_FieldTerminalPath{selector: MetricDescriptor_FieldPathSelectorMetricDescriptorMetadata}
  1022  }
  1023  
  1024  func (s MetricDescriptorPathSelectorMetricDescriptorMetadata) WithValue(value *MetricDescriptor_MetricDescriptorMetadata) *MetricDescriptor_FieldTerminalPathValue {
  1025  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldTerminalPathValue)
  1026  }
  1027  
  1028  func (s MetricDescriptorPathSelectorMetricDescriptorMetadata) WithArrayOfValues(values []*MetricDescriptor_MetricDescriptorMetadata) *MetricDescriptor_FieldTerminalPathArrayOfValues {
  1029  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldTerminalPathArrayOfValues)
  1030  }
  1031  
  1032  func (MetricDescriptorPathSelectorMetricDescriptorMetadata) WithSubPath(subPath MetricDescriptorMetricDescriptorMetadata_FieldPath) *MetricDescriptor_FieldSubPath {
  1033  	return &MetricDescriptor_FieldSubPath{selector: MetricDescriptor_FieldPathSelectorMetricDescriptorMetadata, subPath: subPath}
  1034  }
  1035  
  1036  func (s MetricDescriptorPathSelectorMetricDescriptorMetadata) WithSubValue(subPathValue MetricDescriptorMetricDescriptorMetadata_FieldPathValue) *MetricDescriptor_FieldSubPathValue {
  1037  	return &MetricDescriptor_FieldSubPathValue{MetricDescriptor_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue}
  1038  }
  1039  
  1040  func (s MetricDescriptorPathSelectorMetricDescriptorMetadata) WithSubArrayOfValues(subPathArrayOfValues MetricDescriptorMetricDescriptorMetadata_FieldPathArrayOfValues) *MetricDescriptor_FieldSubPathArrayOfValues {
  1041  	return &MetricDescriptor_FieldSubPathArrayOfValues{MetricDescriptor_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues}
  1042  }
  1043  
  1044  func (s MetricDescriptorPathSelectorMetricDescriptorMetadata) WithSubArrayItemValue(subPathArrayItemValue MetricDescriptorMetricDescriptorMetadata_FieldPathArrayItemValue) *MetricDescriptor_FieldSubPathArrayItemValue {
  1045  	return &MetricDescriptor_FieldSubPathArrayItemValue{MetricDescriptor_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue}
  1046  }
  1047  
  1048  func (MetricDescriptorPathSelectorMetricDescriptorMetadata) LaunchStage() MetricDescriptorPathSelectorMetricDescriptorMetadataLaunchStage {
  1049  	return MetricDescriptorPathSelectorMetricDescriptorMetadataLaunchStage{}
  1050  }
  1051  
  1052  type MetricDescriptorPathSelectorMetricDescriptorMetadataLaunchStage struct{}
  1053  
  1054  func (MetricDescriptorPathSelectorMetricDescriptorMetadataLaunchStage) FieldPath() *MetricDescriptor_FieldSubPath {
  1055  	return &MetricDescriptor_FieldSubPath{
  1056  		selector: MetricDescriptor_FieldPathSelectorMetricDescriptorMetadata,
  1057  		subPath:  NewMetricDescriptorMetricDescriptorMetadataFieldPathBuilder().LaunchStage().FieldPath(),
  1058  	}
  1059  }
  1060  
  1061  func (s MetricDescriptorPathSelectorMetricDescriptorMetadataLaunchStage) WithValue(value api.LaunchStage) *MetricDescriptor_FieldSubPathValue {
  1062  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
  1063  }
  1064  
  1065  func (s MetricDescriptorPathSelectorMetricDescriptorMetadataLaunchStage) WithArrayOfValues(values []api.LaunchStage) *MetricDescriptor_FieldSubPathArrayOfValues {
  1066  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
  1067  }
  1068  
  1069  type MetricDescriptorPathSelectorDistributionBucketOptions struct{}
  1070  
  1071  func (MetricDescriptorPathSelectorDistributionBucketOptions) FieldPath() *MetricDescriptor_FieldTerminalPath {
  1072  	return &MetricDescriptor_FieldTerminalPath{selector: MetricDescriptor_FieldPathSelectorDistributionBucketOptions}
  1073  }
  1074  
  1075  func (s MetricDescriptorPathSelectorDistributionBucketOptions) WithValue(value *common.Distribution_BucketOptions) *MetricDescriptor_FieldTerminalPathValue {
  1076  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldTerminalPathValue)
  1077  }
  1078  
  1079  func (s MetricDescriptorPathSelectorDistributionBucketOptions) WithArrayOfValues(values []*common.Distribution_BucketOptions) *MetricDescriptor_FieldTerminalPathArrayOfValues {
  1080  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldTerminalPathArrayOfValues)
  1081  }
  1082  
  1083  func (MetricDescriptorPathSelectorDistributionBucketOptions) WithSubPath(subPath common.DistributionBucketOptions_FieldPath) *MetricDescriptor_FieldSubPath {
  1084  	return &MetricDescriptor_FieldSubPath{selector: MetricDescriptor_FieldPathSelectorDistributionBucketOptions, subPath: subPath}
  1085  }
  1086  
  1087  func (s MetricDescriptorPathSelectorDistributionBucketOptions) WithSubValue(subPathValue common.DistributionBucketOptions_FieldPathValue) *MetricDescriptor_FieldSubPathValue {
  1088  	return &MetricDescriptor_FieldSubPathValue{MetricDescriptor_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue}
  1089  }
  1090  
  1091  func (s MetricDescriptorPathSelectorDistributionBucketOptions) WithSubArrayOfValues(subPathArrayOfValues common.DistributionBucketOptions_FieldPathArrayOfValues) *MetricDescriptor_FieldSubPathArrayOfValues {
  1092  	return &MetricDescriptor_FieldSubPathArrayOfValues{MetricDescriptor_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues}
  1093  }
  1094  
  1095  func (s MetricDescriptorPathSelectorDistributionBucketOptions) WithSubArrayItemValue(subPathArrayItemValue common.DistributionBucketOptions_FieldPathArrayItemValue) *MetricDescriptor_FieldSubPathArrayItemValue {
  1096  	return &MetricDescriptor_FieldSubPathArrayItemValue{MetricDescriptor_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue}
  1097  }
  1098  
  1099  func (MetricDescriptorPathSelectorDistributionBucketOptions) LinearBuckets() MetricDescriptorPathSelectorDistributionBucketOptionsLinearBuckets {
  1100  	return MetricDescriptorPathSelectorDistributionBucketOptionsLinearBuckets{}
  1101  }
  1102  
  1103  func (MetricDescriptorPathSelectorDistributionBucketOptions) ExponentialBuckets() MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBuckets {
  1104  	return MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBuckets{}
  1105  }
  1106  
  1107  func (MetricDescriptorPathSelectorDistributionBucketOptions) ExplicitBuckets() MetricDescriptorPathSelectorDistributionBucketOptionsExplicitBuckets {
  1108  	return MetricDescriptorPathSelectorDistributionBucketOptionsExplicitBuckets{}
  1109  }
  1110  
  1111  func (MetricDescriptorPathSelectorDistributionBucketOptions) DynamicBuckets() MetricDescriptorPathSelectorDistributionBucketOptionsDynamicBuckets {
  1112  	return MetricDescriptorPathSelectorDistributionBucketOptionsDynamicBuckets{}
  1113  }
  1114  
  1115  type MetricDescriptorPathSelectorDistributionBucketOptionsLinearBuckets struct{}
  1116  
  1117  func (MetricDescriptorPathSelectorDistributionBucketOptionsLinearBuckets) FieldPath() *MetricDescriptor_FieldSubPath {
  1118  	return &MetricDescriptor_FieldSubPath{
  1119  		selector: MetricDescriptor_FieldPathSelectorDistributionBucketOptions,
  1120  		subPath:  common.NewDistributionBucketOptionsFieldPathBuilder().LinearBuckets().FieldPath(),
  1121  	}
  1122  }
  1123  
  1124  func (s MetricDescriptorPathSelectorDistributionBucketOptionsLinearBuckets) WithValue(value *common.Distribution_BucketOptions_Linear) *MetricDescriptor_FieldSubPathValue {
  1125  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
  1126  }
  1127  
  1128  func (s MetricDescriptorPathSelectorDistributionBucketOptionsLinearBuckets) WithArrayOfValues(values []*common.Distribution_BucketOptions_Linear) *MetricDescriptor_FieldSubPathArrayOfValues {
  1129  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
  1130  }
  1131  
  1132  func (MetricDescriptorPathSelectorDistributionBucketOptionsLinearBuckets) NumFiniteBuckets() MetricDescriptorPathSelectorDistributionBucketOptionsLinearBucketsNumFiniteBuckets {
  1133  	return MetricDescriptorPathSelectorDistributionBucketOptionsLinearBucketsNumFiniteBuckets{}
  1134  }
  1135  
  1136  func (MetricDescriptorPathSelectorDistributionBucketOptionsLinearBuckets) Width() MetricDescriptorPathSelectorDistributionBucketOptionsLinearBucketsWidth {
  1137  	return MetricDescriptorPathSelectorDistributionBucketOptionsLinearBucketsWidth{}
  1138  }
  1139  
  1140  func (MetricDescriptorPathSelectorDistributionBucketOptionsLinearBuckets) Offset() MetricDescriptorPathSelectorDistributionBucketOptionsLinearBucketsOffset {
  1141  	return MetricDescriptorPathSelectorDistributionBucketOptionsLinearBucketsOffset{}
  1142  }
  1143  
  1144  type MetricDescriptorPathSelectorDistributionBucketOptionsLinearBucketsNumFiniteBuckets struct{}
  1145  
  1146  func (MetricDescriptorPathSelectorDistributionBucketOptionsLinearBucketsNumFiniteBuckets) FieldPath() *MetricDescriptor_FieldSubPath {
  1147  	return &MetricDescriptor_FieldSubPath{
  1148  		selector: MetricDescriptor_FieldPathSelectorDistributionBucketOptions,
  1149  		subPath:  common.NewDistributionBucketOptionsFieldPathBuilder().LinearBuckets().NumFiniteBuckets().FieldPath(),
  1150  	}
  1151  }
  1152  
  1153  func (s MetricDescriptorPathSelectorDistributionBucketOptionsLinearBucketsNumFiniteBuckets) WithValue(value int32) *MetricDescriptor_FieldSubPathValue {
  1154  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
  1155  }
  1156  
  1157  func (s MetricDescriptorPathSelectorDistributionBucketOptionsLinearBucketsNumFiniteBuckets) WithArrayOfValues(values []int32) *MetricDescriptor_FieldSubPathArrayOfValues {
  1158  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
  1159  }
  1160  
  1161  type MetricDescriptorPathSelectorDistributionBucketOptionsLinearBucketsWidth struct{}
  1162  
  1163  func (MetricDescriptorPathSelectorDistributionBucketOptionsLinearBucketsWidth) FieldPath() *MetricDescriptor_FieldSubPath {
  1164  	return &MetricDescriptor_FieldSubPath{
  1165  		selector: MetricDescriptor_FieldPathSelectorDistributionBucketOptions,
  1166  		subPath:  common.NewDistributionBucketOptionsFieldPathBuilder().LinearBuckets().Width().FieldPath(),
  1167  	}
  1168  }
  1169  
  1170  func (s MetricDescriptorPathSelectorDistributionBucketOptionsLinearBucketsWidth) WithValue(value float64) *MetricDescriptor_FieldSubPathValue {
  1171  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
  1172  }
  1173  
  1174  func (s MetricDescriptorPathSelectorDistributionBucketOptionsLinearBucketsWidth) WithArrayOfValues(values []float64) *MetricDescriptor_FieldSubPathArrayOfValues {
  1175  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
  1176  }
  1177  
  1178  type MetricDescriptorPathSelectorDistributionBucketOptionsLinearBucketsOffset struct{}
  1179  
  1180  func (MetricDescriptorPathSelectorDistributionBucketOptionsLinearBucketsOffset) FieldPath() *MetricDescriptor_FieldSubPath {
  1181  	return &MetricDescriptor_FieldSubPath{
  1182  		selector: MetricDescriptor_FieldPathSelectorDistributionBucketOptions,
  1183  		subPath:  common.NewDistributionBucketOptionsFieldPathBuilder().LinearBuckets().Offset().FieldPath(),
  1184  	}
  1185  }
  1186  
  1187  func (s MetricDescriptorPathSelectorDistributionBucketOptionsLinearBucketsOffset) WithValue(value float64) *MetricDescriptor_FieldSubPathValue {
  1188  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
  1189  }
  1190  
  1191  func (s MetricDescriptorPathSelectorDistributionBucketOptionsLinearBucketsOffset) WithArrayOfValues(values []float64) *MetricDescriptor_FieldSubPathArrayOfValues {
  1192  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
  1193  }
  1194  
  1195  type MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBuckets struct{}
  1196  
  1197  func (MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBuckets) FieldPath() *MetricDescriptor_FieldSubPath {
  1198  	return &MetricDescriptor_FieldSubPath{
  1199  		selector: MetricDescriptor_FieldPathSelectorDistributionBucketOptions,
  1200  		subPath:  common.NewDistributionBucketOptionsFieldPathBuilder().ExponentialBuckets().FieldPath(),
  1201  	}
  1202  }
  1203  
  1204  func (s MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBuckets) WithValue(value *common.Distribution_BucketOptions_Exponential) *MetricDescriptor_FieldSubPathValue {
  1205  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
  1206  }
  1207  
  1208  func (s MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBuckets) WithArrayOfValues(values []*common.Distribution_BucketOptions_Exponential) *MetricDescriptor_FieldSubPathArrayOfValues {
  1209  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
  1210  }
  1211  
  1212  func (MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBuckets) NumFiniteBuckets() MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBucketsNumFiniteBuckets {
  1213  	return MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBucketsNumFiniteBuckets{}
  1214  }
  1215  
  1216  func (MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBuckets) GrowthFactor() MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBucketsGrowthFactor {
  1217  	return MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBucketsGrowthFactor{}
  1218  }
  1219  
  1220  func (MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBuckets) Scale() MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBucketsScale {
  1221  	return MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBucketsScale{}
  1222  }
  1223  
  1224  type MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBucketsNumFiniteBuckets struct{}
  1225  
  1226  func (MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBucketsNumFiniteBuckets) FieldPath() *MetricDescriptor_FieldSubPath {
  1227  	return &MetricDescriptor_FieldSubPath{
  1228  		selector: MetricDescriptor_FieldPathSelectorDistributionBucketOptions,
  1229  		subPath:  common.NewDistributionBucketOptionsFieldPathBuilder().ExponentialBuckets().NumFiniteBuckets().FieldPath(),
  1230  	}
  1231  }
  1232  
  1233  func (s MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBucketsNumFiniteBuckets) WithValue(value int32) *MetricDescriptor_FieldSubPathValue {
  1234  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
  1235  }
  1236  
  1237  func (s MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBucketsNumFiniteBuckets) WithArrayOfValues(values []int32) *MetricDescriptor_FieldSubPathArrayOfValues {
  1238  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
  1239  }
  1240  
  1241  type MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBucketsGrowthFactor struct{}
  1242  
  1243  func (MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBucketsGrowthFactor) FieldPath() *MetricDescriptor_FieldSubPath {
  1244  	return &MetricDescriptor_FieldSubPath{
  1245  		selector: MetricDescriptor_FieldPathSelectorDistributionBucketOptions,
  1246  		subPath:  common.NewDistributionBucketOptionsFieldPathBuilder().ExponentialBuckets().GrowthFactor().FieldPath(),
  1247  	}
  1248  }
  1249  
  1250  func (s MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBucketsGrowthFactor) WithValue(value float64) *MetricDescriptor_FieldSubPathValue {
  1251  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
  1252  }
  1253  
  1254  func (s MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBucketsGrowthFactor) WithArrayOfValues(values []float64) *MetricDescriptor_FieldSubPathArrayOfValues {
  1255  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
  1256  }
  1257  
  1258  type MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBucketsScale struct{}
  1259  
  1260  func (MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBucketsScale) FieldPath() *MetricDescriptor_FieldSubPath {
  1261  	return &MetricDescriptor_FieldSubPath{
  1262  		selector: MetricDescriptor_FieldPathSelectorDistributionBucketOptions,
  1263  		subPath:  common.NewDistributionBucketOptionsFieldPathBuilder().ExponentialBuckets().Scale().FieldPath(),
  1264  	}
  1265  }
  1266  
  1267  func (s MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBucketsScale) WithValue(value float64) *MetricDescriptor_FieldSubPathValue {
  1268  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
  1269  }
  1270  
  1271  func (s MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBucketsScale) WithArrayOfValues(values []float64) *MetricDescriptor_FieldSubPathArrayOfValues {
  1272  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
  1273  }
  1274  
  1275  type MetricDescriptorPathSelectorDistributionBucketOptionsExplicitBuckets struct{}
  1276  
  1277  func (MetricDescriptorPathSelectorDistributionBucketOptionsExplicitBuckets) FieldPath() *MetricDescriptor_FieldSubPath {
  1278  	return &MetricDescriptor_FieldSubPath{
  1279  		selector: MetricDescriptor_FieldPathSelectorDistributionBucketOptions,
  1280  		subPath:  common.NewDistributionBucketOptionsFieldPathBuilder().ExplicitBuckets().FieldPath(),
  1281  	}
  1282  }
  1283  
  1284  func (s MetricDescriptorPathSelectorDistributionBucketOptionsExplicitBuckets) WithValue(value *common.Distribution_BucketOptions_Explicit) *MetricDescriptor_FieldSubPathValue {
  1285  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
  1286  }
  1287  
  1288  func (s MetricDescriptorPathSelectorDistributionBucketOptionsExplicitBuckets) WithArrayOfValues(values []*common.Distribution_BucketOptions_Explicit) *MetricDescriptor_FieldSubPathArrayOfValues {
  1289  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
  1290  }
  1291  
  1292  func (MetricDescriptorPathSelectorDistributionBucketOptionsExplicitBuckets) Bounds() MetricDescriptorPathSelectorDistributionBucketOptionsExplicitBucketsBounds {
  1293  	return MetricDescriptorPathSelectorDistributionBucketOptionsExplicitBucketsBounds{}
  1294  }
  1295  
  1296  type MetricDescriptorPathSelectorDistributionBucketOptionsExplicitBucketsBounds struct{}
  1297  
  1298  func (MetricDescriptorPathSelectorDistributionBucketOptionsExplicitBucketsBounds) FieldPath() *MetricDescriptor_FieldSubPath {
  1299  	return &MetricDescriptor_FieldSubPath{
  1300  		selector: MetricDescriptor_FieldPathSelectorDistributionBucketOptions,
  1301  		subPath:  common.NewDistributionBucketOptionsFieldPathBuilder().ExplicitBuckets().Bounds().FieldPath(),
  1302  	}
  1303  }
  1304  
  1305  func (s MetricDescriptorPathSelectorDistributionBucketOptionsExplicitBucketsBounds) WithValue(value []float64) *MetricDescriptor_FieldSubPathValue {
  1306  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
  1307  }
  1308  
  1309  func (s MetricDescriptorPathSelectorDistributionBucketOptionsExplicitBucketsBounds) WithArrayOfValues(values [][]float64) *MetricDescriptor_FieldSubPathArrayOfValues {
  1310  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
  1311  }
  1312  
  1313  func (s MetricDescriptorPathSelectorDistributionBucketOptionsExplicitBucketsBounds) WithItemValue(value float64) *MetricDescriptor_FieldSubPathArrayItemValue {
  1314  	return s.FieldPath().WithIArrayItemValue(value).(*MetricDescriptor_FieldSubPathArrayItemValue)
  1315  }
  1316  
  1317  type MetricDescriptorPathSelectorDistributionBucketOptionsDynamicBuckets struct{}
  1318  
  1319  func (MetricDescriptorPathSelectorDistributionBucketOptionsDynamicBuckets) FieldPath() *MetricDescriptor_FieldSubPath {
  1320  	return &MetricDescriptor_FieldSubPath{
  1321  		selector: MetricDescriptor_FieldPathSelectorDistributionBucketOptions,
  1322  		subPath:  common.NewDistributionBucketOptionsFieldPathBuilder().DynamicBuckets().FieldPath(),
  1323  	}
  1324  }
  1325  
  1326  func (s MetricDescriptorPathSelectorDistributionBucketOptionsDynamicBuckets) WithValue(value *common.Distribution_BucketOptions_Dynamic) *MetricDescriptor_FieldSubPathValue {
  1327  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
  1328  }
  1329  
  1330  func (s MetricDescriptorPathSelectorDistributionBucketOptionsDynamicBuckets) WithArrayOfValues(values []*common.Distribution_BucketOptions_Dynamic) *MetricDescriptor_FieldSubPathArrayOfValues {
  1331  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
  1332  }
  1333  
  1334  func (MetricDescriptorPathSelectorDistributionBucketOptionsDynamicBuckets) Compression() MetricDescriptorPathSelectorDistributionBucketOptionsDynamicBucketsCompression {
  1335  	return MetricDescriptorPathSelectorDistributionBucketOptionsDynamicBucketsCompression{}
  1336  }
  1337  
  1338  func (MetricDescriptorPathSelectorDistributionBucketOptionsDynamicBuckets) Means() MetricDescriptorPathSelectorDistributionBucketOptionsDynamicBucketsMeans {
  1339  	return MetricDescriptorPathSelectorDistributionBucketOptionsDynamicBucketsMeans{}
  1340  }
  1341  
  1342  type MetricDescriptorPathSelectorDistributionBucketOptionsDynamicBucketsCompression struct{}
  1343  
  1344  func (MetricDescriptorPathSelectorDistributionBucketOptionsDynamicBucketsCompression) FieldPath() *MetricDescriptor_FieldSubPath {
  1345  	return &MetricDescriptor_FieldSubPath{
  1346  		selector: MetricDescriptor_FieldPathSelectorDistributionBucketOptions,
  1347  		subPath:  common.NewDistributionBucketOptionsFieldPathBuilder().DynamicBuckets().Compression().FieldPath(),
  1348  	}
  1349  }
  1350  
  1351  func (s MetricDescriptorPathSelectorDistributionBucketOptionsDynamicBucketsCompression) WithValue(value float64) *MetricDescriptor_FieldSubPathValue {
  1352  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
  1353  }
  1354  
  1355  func (s MetricDescriptorPathSelectorDistributionBucketOptionsDynamicBucketsCompression) WithArrayOfValues(values []float64) *MetricDescriptor_FieldSubPathArrayOfValues {
  1356  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
  1357  }
  1358  
  1359  type MetricDescriptorPathSelectorDistributionBucketOptionsDynamicBucketsMeans struct{}
  1360  
  1361  func (MetricDescriptorPathSelectorDistributionBucketOptionsDynamicBucketsMeans) FieldPath() *MetricDescriptor_FieldSubPath {
  1362  	return &MetricDescriptor_FieldSubPath{
  1363  		selector: MetricDescriptor_FieldPathSelectorDistributionBucketOptions,
  1364  		subPath:  common.NewDistributionBucketOptionsFieldPathBuilder().DynamicBuckets().Means().FieldPath(),
  1365  	}
  1366  }
  1367  
  1368  func (s MetricDescriptorPathSelectorDistributionBucketOptionsDynamicBucketsMeans) WithValue(value []float64) *MetricDescriptor_FieldSubPathValue {
  1369  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
  1370  }
  1371  
  1372  func (s MetricDescriptorPathSelectorDistributionBucketOptionsDynamicBucketsMeans) WithArrayOfValues(values [][]float64) *MetricDescriptor_FieldSubPathArrayOfValues {
  1373  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
  1374  }
  1375  
  1376  func (s MetricDescriptorPathSelectorDistributionBucketOptionsDynamicBucketsMeans) WithItemValue(value float64) *MetricDescriptor_FieldSubPathArrayItemValue {
  1377  	return s.FieldPath().WithIArrayItemValue(value).(*MetricDescriptor_FieldSubPathArrayItemValue)
  1378  }
  1379  
  1380  type MetricDescriptorPathSelectorPromotedLabelKeySets struct{}
  1381  
  1382  func (MetricDescriptorPathSelectorPromotedLabelKeySets) FieldPath() *MetricDescriptor_FieldTerminalPath {
  1383  	return &MetricDescriptor_FieldTerminalPath{selector: MetricDescriptor_FieldPathSelectorPromotedLabelKeySets}
  1384  }
  1385  
  1386  func (s MetricDescriptorPathSelectorPromotedLabelKeySets) WithValue(value []*common.LabelKeySet) *MetricDescriptor_FieldTerminalPathValue {
  1387  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldTerminalPathValue)
  1388  }
  1389  
  1390  func (s MetricDescriptorPathSelectorPromotedLabelKeySets) WithArrayOfValues(values [][]*common.LabelKeySet) *MetricDescriptor_FieldTerminalPathArrayOfValues {
  1391  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldTerminalPathArrayOfValues)
  1392  }
  1393  
  1394  func (s MetricDescriptorPathSelectorPromotedLabelKeySets) WithItemValue(value *common.LabelKeySet) *MetricDescriptor_FieldTerminalPathArrayItemValue {
  1395  	return s.FieldPath().WithIArrayItemValue(value).(*MetricDescriptor_FieldTerminalPathArrayItemValue)
  1396  }
  1397  func (MetricDescriptorPathSelectorPromotedLabelKeySets) WithSubPath(subPath common.LabelKeySet_FieldPath) *MetricDescriptor_FieldSubPath {
  1398  	return &MetricDescriptor_FieldSubPath{selector: MetricDescriptor_FieldPathSelectorPromotedLabelKeySets, subPath: subPath}
  1399  }
  1400  
  1401  func (s MetricDescriptorPathSelectorPromotedLabelKeySets) WithSubValue(subPathValue common.LabelKeySet_FieldPathValue) *MetricDescriptor_FieldSubPathValue {
  1402  	return &MetricDescriptor_FieldSubPathValue{MetricDescriptor_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue}
  1403  }
  1404  
  1405  func (s MetricDescriptorPathSelectorPromotedLabelKeySets) WithSubArrayOfValues(subPathArrayOfValues common.LabelKeySet_FieldPathArrayOfValues) *MetricDescriptor_FieldSubPathArrayOfValues {
  1406  	return &MetricDescriptor_FieldSubPathArrayOfValues{MetricDescriptor_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues}
  1407  }
  1408  
  1409  func (s MetricDescriptorPathSelectorPromotedLabelKeySets) WithSubArrayItemValue(subPathArrayItemValue common.LabelKeySet_FieldPathArrayItemValue) *MetricDescriptor_FieldSubPathArrayItemValue {
  1410  	return &MetricDescriptor_FieldSubPathArrayItemValue{MetricDescriptor_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue}
  1411  }
  1412  
  1413  func (MetricDescriptorPathSelectorPromotedLabelKeySets) LabelKeys() MetricDescriptorPathSelectorPromotedLabelKeySetsLabelKeys {
  1414  	return MetricDescriptorPathSelectorPromotedLabelKeySetsLabelKeys{}
  1415  }
  1416  
  1417  func (MetricDescriptorPathSelectorPromotedLabelKeySets) WriteOnly() MetricDescriptorPathSelectorPromotedLabelKeySetsWriteOnly {
  1418  	return MetricDescriptorPathSelectorPromotedLabelKeySetsWriteOnly{}
  1419  }
  1420  
  1421  type MetricDescriptorPathSelectorPromotedLabelKeySetsLabelKeys struct{}
  1422  
  1423  func (MetricDescriptorPathSelectorPromotedLabelKeySetsLabelKeys) FieldPath() *MetricDescriptor_FieldSubPath {
  1424  	return &MetricDescriptor_FieldSubPath{
  1425  		selector: MetricDescriptor_FieldPathSelectorPromotedLabelKeySets,
  1426  		subPath:  common.NewLabelKeySetFieldPathBuilder().LabelKeys().FieldPath(),
  1427  	}
  1428  }
  1429  
  1430  func (s MetricDescriptorPathSelectorPromotedLabelKeySetsLabelKeys) WithValue(value []string) *MetricDescriptor_FieldSubPathValue {
  1431  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
  1432  }
  1433  
  1434  func (s MetricDescriptorPathSelectorPromotedLabelKeySetsLabelKeys) WithArrayOfValues(values [][]string) *MetricDescriptor_FieldSubPathArrayOfValues {
  1435  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
  1436  }
  1437  
  1438  func (s MetricDescriptorPathSelectorPromotedLabelKeySetsLabelKeys) WithItemValue(value string) *MetricDescriptor_FieldSubPathArrayItemValue {
  1439  	return s.FieldPath().WithIArrayItemValue(value).(*MetricDescriptor_FieldSubPathArrayItemValue)
  1440  }
  1441  
  1442  type MetricDescriptorPathSelectorPromotedLabelKeySetsWriteOnly struct{}
  1443  
  1444  func (MetricDescriptorPathSelectorPromotedLabelKeySetsWriteOnly) FieldPath() *MetricDescriptor_FieldSubPath {
  1445  	return &MetricDescriptor_FieldSubPath{
  1446  		selector: MetricDescriptor_FieldPathSelectorPromotedLabelKeySets,
  1447  		subPath:  common.NewLabelKeySetFieldPathBuilder().WriteOnly().FieldPath(),
  1448  	}
  1449  }
  1450  
  1451  func (s MetricDescriptorPathSelectorPromotedLabelKeySetsWriteOnly) WithValue(value bool) *MetricDescriptor_FieldSubPathValue {
  1452  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
  1453  }
  1454  
  1455  func (s MetricDescriptorPathSelectorPromotedLabelKeySetsWriteOnly) WithArrayOfValues(values []bool) *MetricDescriptor_FieldSubPathArrayOfValues {
  1456  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
  1457  }
  1458  
  1459  type MetricDescriptorPathSelectorIndexSpec struct{}
  1460  
  1461  func (MetricDescriptorPathSelectorIndexSpec) FieldPath() *MetricDescriptor_FieldTerminalPath {
  1462  	return &MetricDescriptor_FieldTerminalPath{selector: MetricDescriptor_FieldPathSelectorIndexSpec}
  1463  }
  1464  
  1465  func (s MetricDescriptorPathSelectorIndexSpec) WithValue(value *MetricDescriptor_IndexSpec) *MetricDescriptor_FieldTerminalPathValue {
  1466  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldTerminalPathValue)
  1467  }
  1468  
  1469  func (s MetricDescriptorPathSelectorIndexSpec) WithArrayOfValues(values []*MetricDescriptor_IndexSpec) *MetricDescriptor_FieldTerminalPathArrayOfValues {
  1470  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldTerminalPathArrayOfValues)
  1471  }
  1472  
  1473  func (MetricDescriptorPathSelectorIndexSpec) WithSubPath(subPath MetricDescriptorIndexSpec_FieldPath) *MetricDescriptor_FieldSubPath {
  1474  	return &MetricDescriptor_FieldSubPath{selector: MetricDescriptor_FieldPathSelectorIndexSpec, subPath: subPath}
  1475  }
  1476  
  1477  func (s MetricDescriptorPathSelectorIndexSpec) WithSubValue(subPathValue MetricDescriptorIndexSpec_FieldPathValue) *MetricDescriptor_FieldSubPathValue {
  1478  	return &MetricDescriptor_FieldSubPathValue{MetricDescriptor_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue}
  1479  }
  1480  
  1481  func (s MetricDescriptorPathSelectorIndexSpec) WithSubArrayOfValues(subPathArrayOfValues MetricDescriptorIndexSpec_FieldPathArrayOfValues) *MetricDescriptor_FieldSubPathArrayOfValues {
  1482  	return &MetricDescriptor_FieldSubPathArrayOfValues{MetricDescriptor_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues}
  1483  }
  1484  
  1485  func (s MetricDescriptorPathSelectorIndexSpec) WithSubArrayItemValue(subPathArrayItemValue MetricDescriptorIndexSpec_FieldPathArrayItemValue) *MetricDescriptor_FieldSubPathArrayItemValue {
  1486  	return &MetricDescriptor_FieldSubPathArrayItemValue{MetricDescriptor_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue}
  1487  }
  1488  
  1489  func (MetricDescriptorPathSelectorIndexSpec) PerResource() MetricDescriptorPathSelectorIndexSpecPerResource {
  1490  	return MetricDescriptorPathSelectorIndexSpecPerResource{}
  1491  }
  1492  
  1493  type MetricDescriptorPathSelectorIndexSpecPerResource struct{}
  1494  
  1495  func (MetricDescriptorPathSelectorIndexSpecPerResource) FieldPath() *MetricDescriptor_FieldSubPath {
  1496  	return &MetricDescriptor_FieldSubPath{
  1497  		selector: MetricDescriptor_FieldPathSelectorIndexSpec,
  1498  		subPath:  NewMetricDescriptorIndexSpecFieldPathBuilder().PerResource().FieldPath(),
  1499  	}
  1500  }
  1501  
  1502  func (s MetricDescriptorPathSelectorIndexSpecPerResource) WithValue(value []*MetricDescriptor_IndexSpec_PerMonitoredResource) *MetricDescriptor_FieldSubPathValue {
  1503  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
  1504  }
  1505  
  1506  func (s MetricDescriptorPathSelectorIndexSpecPerResource) WithArrayOfValues(values [][]*MetricDescriptor_IndexSpec_PerMonitoredResource) *MetricDescriptor_FieldSubPathArrayOfValues {
  1507  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
  1508  }
  1509  
  1510  func (s MetricDescriptorPathSelectorIndexSpecPerResource) WithItemValue(value *MetricDescriptor_IndexSpec_PerMonitoredResource) *MetricDescriptor_FieldSubPathArrayItemValue {
  1511  	return s.FieldPath().WithIArrayItemValue(value).(*MetricDescriptor_FieldSubPathArrayItemValue)
  1512  }
  1513  
  1514  func (MetricDescriptorPathSelectorIndexSpecPerResource) Resource() MetricDescriptorPathSelectorIndexSpecPerResourceResource {
  1515  	return MetricDescriptorPathSelectorIndexSpecPerResourceResource{}
  1516  }
  1517  
  1518  func (MetricDescriptorPathSelectorIndexSpecPerResource) Indices() MetricDescriptorPathSelectorIndexSpecPerResourceIndices {
  1519  	return MetricDescriptorPathSelectorIndexSpecPerResourceIndices{}
  1520  }
  1521  
  1522  type MetricDescriptorPathSelectorIndexSpecPerResourceResource struct{}
  1523  
  1524  func (MetricDescriptorPathSelectorIndexSpecPerResourceResource) FieldPath() *MetricDescriptor_FieldSubPath {
  1525  	return &MetricDescriptor_FieldSubPath{
  1526  		selector: MetricDescriptor_FieldPathSelectorIndexSpec,
  1527  		subPath:  NewMetricDescriptorIndexSpecFieldPathBuilder().PerResource().Resource().FieldPath(),
  1528  	}
  1529  }
  1530  
  1531  func (s MetricDescriptorPathSelectorIndexSpecPerResourceResource) WithValue(value *monitored_resource_descriptor.Reference) *MetricDescriptor_FieldSubPathValue {
  1532  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
  1533  }
  1534  
  1535  func (s MetricDescriptorPathSelectorIndexSpecPerResourceResource) WithArrayOfValues(values []*monitored_resource_descriptor.Reference) *MetricDescriptor_FieldSubPathArrayOfValues {
  1536  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
  1537  }
  1538  
  1539  type MetricDescriptorPathSelectorIndexSpecPerResourceIndices struct{}
  1540  
  1541  func (MetricDescriptorPathSelectorIndexSpecPerResourceIndices) FieldPath() *MetricDescriptor_FieldSubPath {
  1542  	return &MetricDescriptor_FieldSubPath{
  1543  		selector: MetricDescriptor_FieldPathSelectorIndexSpec,
  1544  		subPath:  NewMetricDescriptorIndexSpecFieldPathBuilder().PerResource().Indices().FieldPath(),
  1545  	}
  1546  }
  1547  
  1548  func (s MetricDescriptorPathSelectorIndexSpecPerResourceIndices) WithValue(value []*MetricDescriptor_IndexSpec_Index) *MetricDescriptor_FieldSubPathValue {
  1549  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
  1550  }
  1551  
  1552  func (s MetricDescriptorPathSelectorIndexSpecPerResourceIndices) WithArrayOfValues(values [][]*MetricDescriptor_IndexSpec_Index) *MetricDescriptor_FieldSubPathArrayOfValues {
  1553  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
  1554  }
  1555  
  1556  func (s MetricDescriptorPathSelectorIndexSpecPerResourceIndices) WithItemValue(value *MetricDescriptor_IndexSpec_Index) *MetricDescriptor_FieldSubPathArrayItemValue {
  1557  	return s.FieldPath().WithIArrayItemValue(value).(*MetricDescriptor_FieldSubPathArrayItemValue)
  1558  }
  1559  
  1560  func (MetricDescriptorPathSelectorIndexSpecPerResourceIndices) PromotedLabels() MetricDescriptorPathSelectorIndexSpecPerResourceIndicesPromotedLabels {
  1561  	return MetricDescriptorPathSelectorIndexSpecPerResourceIndicesPromotedLabels{}
  1562  }
  1563  
  1564  func (MetricDescriptorPathSelectorIndexSpecPerResourceIndices) WriteOnly() MetricDescriptorPathSelectorIndexSpecPerResourceIndicesWriteOnly {
  1565  	return MetricDescriptorPathSelectorIndexSpecPerResourceIndicesWriteOnly{}
  1566  }
  1567  
  1568  type MetricDescriptorPathSelectorIndexSpecPerResourceIndicesPromotedLabels struct{}
  1569  
  1570  func (MetricDescriptorPathSelectorIndexSpecPerResourceIndicesPromotedLabels) FieldPath() *MetricDescriptor_FieldSubPath {
  1571  	return &MetricDescriptor_FieldSubPath{
  1572  		selector: MetricDescriptor_FieldPathSelectorIndexSpec,
  1573  		subPath:  NewMetricDescriptorIndexSpecFieldPathBuilder().PerResource().Indices().PromotedLabels().FieldPath(),
  1574  	}
  1575  }
  1576  
  1577  func (s MetricDescriptorPathSelectorIndexSpecPerResourceIndicesPromotedLabels) WithValue(value []string) *MetricDescriptor_FieldSubPathValue {
  1578  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
  1579  }
  1580  
  1581  func (s MetricDescriptorPathSelectorIndexSpecPerResourceIndicesPromotedLabels) WithArrayOfValues(values [][]string) *MetricDescriptor_FieldSubPathArrayOfValues {
  1582  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
  1583  }
  1584  
  1585  func (s MetricDescriptorPathSelectorIndexSpecPerResourceIndicesPromotedLabels) WithItemValue(value string) *MetricDescriptor_FieldSubPathArrayItemValue {
  1586  	return s.FieldPath().WithIArrayItemValue(value).(*MetricDescriptor_FieldSubPathArrayItemValue)
  1587  }
  1588  
  1589  type MetricDescriptorPathSelectorIndexSpecPerResourceIndicesWriteOnly struct{}
  1590  
  1591  func (MetricDescriptorPathSelectorIndexSpecPerResourceIndicesWriteOnly) FieldPath() *MetricDescriptor_FieldSubPath {
  1592  	return &MetricDescriptor_FieldSubPath{
  1593  		selector: MetricDescriptor_FieldPathSelectorIndexSpec,
  1594  		subPath:  NewMetricDescriptorIndexSpecFieldPathBuilder().PerResource().Indices().WriteOnly().FieldPath(),
  1595  	}
  1596  }
  1597  
  1598  func (s MetricDescriptorPathSelectorIndexSpecPerResourceIndicesWriteOnly) WithValue(value bool) *MetricDescriptor_FieldSubPathValue {
  1599  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
  1600  }
  1601  
  1602  func (s MetricDescriptorPathSelectorIndexSpecPerResourceIndicesWriteOnly) WithArrayOfValues(values []bool) *MetricDescriptor_FieldSubPathArrayOfValues {
  1603  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
  1604  }
  1605  
  1606  type MetricDescriptorPathSelectorStorageConfig struct{}
  1607  
  1608  func (MetricDescriptorPathSelectorStorageConfig) FieldPath() *MetricDescriptor_FieldTerminalPath {
  1609  	return &MetricDescriptor_FieldTerminalPath{selector: MetricDescriptor_FieldPathSelectorStorageConfig}
  1610  }
  1611  
  1612  func (s MetricDescriptorPathSelectorStorageConfig) WithValue(value *MetricDescriptor_StorageConfig) *MetricDescriptor_FieldTerminalPathValue {
  1613  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldTerminalPathValue)
  1614  }
  1615  
  1616  func (s MetricDescriptorPathSelectorStorageConfig) WithArrayOfValues(values []*MetricDescriptor_StorageConfig) *MetricDescriptor_FieldTerminalPathArrayOfValues {
  1617  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldTerminalPathArrayOfValues)
  1618  }
  1619  
  1620  func (MetricDescriptorPathSelectorStorageConfig) WithSubPath(subPath MetricDescriptorStorageConfig_FieldPath) *MetricDescriptor_FieldSubPath {
  1621  	return &MetricDescriptor_FieldSubPath{selector: MetricDescriptor_FieldPathSelectorStorageConfig, subPath: subPath}
  1622  }
  1623  
  1624  func (s MetricDescriptorPathSelectorStorageConfig) WithSubValue(subPathValue MetricDescriptorStorageConfig_FieldPathValue) *MetricDescriptor_FieldSubPathValue {
  1625  	return &MetricDescriptor_FieldSubPathValue{MetricDescriptor_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue}
  1626  }
  1627  
  1628  func (s MetricDescriptorPathSelectorStorageConfig) WithSubArrayOfValues(subPathArrayOfValues MetricDescriptorStorageConfig_FieldPathArrayOfValues) *MetricDescriptor_FieldSubPathArrayOfValues {
  1629  	return &MetricDescriptor_FieldSubPathArrayOfValues{MetricDescriptor_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues}
  1630  }
  1631  
  1632  func (s MetricDescriptorPathSelectorStorageConfig) WithSubArrayItemValue(subPathArrayItemValue MetricDescriptorStorageConfig_FieldPathArrayItemValue) *MetricDescriptor_FieldSubPathArrayItemValue {
  1633  	return &MetricDescriptor_FieldSubPathArrayItemValue{MetricDescriptor_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue}
  1634  }
  1635  
  1636  func (MetricDescriptorPathSelectorStorageConfig) StoreRawPoints() MetricDescriptorPathSelectorStorageConfigStoreRawPoints {
  1637  	return MetricDescriptorPathSelectorStorageConfigStoreRawPoints{}
  1638  }
  1639  
  1640  type MetricDescriptorPathSelectorStorageConfigStoreRawPoints struct{}
  1641  
  1642  func (MetricDescriptorPathSelectorStorageConfigStoreRawPoints) FieldPath() *MetricDescriptor_FieldSubPath {
  1643  	return &MetricDescriptor_FieldSubPath{
  1644  		selector: MetricDescriptor_FieldPathSelectorStorageConfig,
  1645  		subPath:  NewMetricDescriptorStorageConfigFieldPathBuilder().StoreRawPoints().FieldPath(),
  1646  	}
  1647  }
  1648  
  1649  func (s MetricDescriptorPathSelectorStorageConfigStoreRawPoints) WithValue(value bool) *MetricDescriptor_FieldSubPathValue {
  1650  	return s.FieldPath().WithIValue(value).(*MetricDescriptor_FieldSubPathValue)
  1651  }
  1652  
  1653  func (s MetricDescriptorPathSelectorStorageConfigStoreRawPoints) WithArrayOfValues(values []bool) *MetricDescriptor_FieldSubPathArrayOfValues {
  1654  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptor_FieldSubPathArrayOfValues)
  1655  }
  1656  
  1657  type MetricDescriptorMetricDescriptorMetadataFieldPathBuilder struct{}
  1658  
  1659  func NewMetricDescriptorMetricDescriptorMetadataFieldPathBuilder() MetricDescriptorMetricDescriptorMetadataFieldPathBuilder {
  1660  	return MetricDescriptorMetricDescriptorMetadataFieldPathBuilder{}
  1661  }
  1662  func (MetricDescriptorMetricDescriptorMetadataFieldPathBuilder) LaunchStage() MetricDescriptor_MetricDescriptorMetadataPathSelectorLaunchStage {
  1663  	return MetricDescriptor_MetricDescriptorMetadataPathSelectorLaunchStage{}
  1664  }
  1665  
  1666  type MetricDescriptor_MetricDescriptorMetadataPathSelectorLaunchStage struct{}
  1667  
  1668  func (MetricDescriptor_MetricDescriptorMetadataPathSelectorLaunchStage) FieldPath() *MetricDescriptorMetricDescriptorMetadata_FieldTerminalPath {
  1669  	return &MetricDescriptorMetricDescriptorMetadata_FieldTerminalPath{selector: MetricDescriptorMetricDescriptorMetadata_FieldPathSelectorLaunchStage}
  1670  }
  1671  
  1672  func (s MetricDescriptor_MetricDescriptorMetadataPathSelectorLaunchStage) WithValue(value api.LaunchStage) *MetricDescriptorMetricDescriptorMetadata_FieldTerminalPathValue {
  1673  	return s.FieldPath().WithIValue(value).(*MetricDescriptorMetricDescriptorMetadata_FieldTerminalPathValue)
  1674  }
  1675  
  1676  func (s MetricDescriptor_MetricDescriptorMetadataPathSelectorLaunchStage) WithArrayOfValues(values []api.LaunchStage) *MetricDescriptorMetricDescriptorMetadata_FieldTerminalPathArrayOfValues {
  1677  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptorMetricDescriptorMetadata_FieldTerminalPathArrayOfValues)
  1678  }
  1679  
  1680  type MetricDescriptorIndexSpecFieldPathBuilder struct{}
  1681  
  1682  func NewMetricDescriptorIndexSpecFieldPathBuilder() MetricDescriptorIndexSpecFieldPathBuilder {
  1683  	return MetricDescriptorIndexSpecFieldPathBuilder{}
  1684  }
  1685  func (MetricDescriptorIndexSpecFieldPathBuilder) PerResource() MetricDescriptor_IndexSpecPathSelectorPerResource {
  1686  	return MetricDescriptor_IndexSpecPathSelectorPerResource{}
  1687  }
  1688  
  1689  type MetricDescriptor_IndexSpecPathSelectorPerResource struct{}
  1690  
  1691  func (MetricDescriptor_IndexSpecPathSelectorPerResource) FieldPath() *MetricDescriptorIndexSpec_FieldTerminalPath {
  1692  	return &MetricDescriptorIndexSpec_FieldTerminalPath{selector: MetricDescriptorIndexSpec_FieldPathSelectorPerResource}
  1693  }
  1694  
  1695  func (s MetricDescriptor_IndexSpecPathSelectorPerResource) WithValue(value []*MetricDescriptor_IndexSpec_PerMonitoredResource) *MetricDescriptorIndexSpec_FieldTerminalPathValue {
  1696  	return s.FieldPath().WithIValue(value).(*MetricDescriptorIndexSpec_FieldTerminalPathValue)
  1697  }
  1698  
  1699  func (s MetricDescriptor_IndexSpecPathSelectorPerResource) WithArrayOfValues(values [][]*MetricDescriptor_IndexSpec_PerMonitoredResource) *MetricDescriptorIndexSpec_FieldTerminalPathArrayOfValues {
  1700  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptorIndexSpec_FieldTerminalPathArrayOfValues)
  1701  }
  1702  
  1703  func (s MetricDescriptor_IndexSpecPathSelectorPerResource) WithItemValue(value *MetricDescriptor_IndexSpec_PerMonitoredResource) *MetricDescriptorIndexSpec_FieldTerminalPathArrayItemValue {
  1704  	return s.FieldPath().WithIArrayItemValue(value).(*MetricDescriptorIndexSpec_FieldTerminalPathArrayItemValue)
  1705  }
  1706  func (MetricDescriptor_IndexSpecPathSelectorPerResource) WithSubPath(subPath MetricDescriptorIndexSpecPerMonitoredResource_FieldPath) *MetricDescriptorIndexSpec_FieldSubPath {
  1707  	return &MetricDescriptorIndexSpec_FieldSubPath{selector: MetricDescriptorIndexSpec_FieldPathSelectorPerResource, subPath: subPath}
  1708  }
  1709  
  1710  func (s MetricDescriptor_IndexSpecPathSelectorPerResource) WithSubValue(subPathValue MetricDescriptorIndexSpecPerMonitoredResource_FieldPathValue) *MetricDescriptorIndexSpec_FieldSubPathValue {
  1711  	return &MetricDescriptorIndexSpec_FieldSubPathValue{MetricDescriptorIndexSpec_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue}
  1712  }
  1713  
  1714  func (s MetricDescriptor_IndexSpecPathSelectorPerResource) WithSubArrayOfValues(subPathArrayOfValues MetricDescriptorIndexSpecPerMonitoredResource_FieldPathArrayOfValues) *MetricDescriptorIndexSpec_FieldSubPathArrayOfValues {
  1715  	return &MetricDescriptorIndexSpec_FieldSubPathArrayOfValues{MetricDescriptorIndexSpec_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues}
  1716  }
  1717  
  1718  func (s MetricDescriptor_IndexSpecPathSelectorPerResource) WithSubArrayItemValue(subPathArrayItemValue MetricDescriptorIndexSpecPerMonitoredResource_FieldPathArrayItemValue) *MetricDescriptorIndexSpec_FieldSubPathArrayItemValue {
  1719  	return &MetricDescriptorIndexSpec_FieldSubPathArrayItemValue{MetricDescriptorIndexSpec_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue}
  1720  }
  1721  
  1722  func (MetricDescriptor_IndexSpecPathSelectorPerResource) Resource() MetricDescriptor_IndexSpecPathSelectorPerResourceResource {
  1723  	return MetricDescriptor_IndexSpecPathSelectorPerResourceResource{}
  1724  }
  1725  
  1726  func (MetricDescriptor_IndexSpecPathSelectorPerResource) Indices() MetricDescriptor_IndexSpecPathSelectorPerResourceIndices {
  1727  	return MetricDescriptor_IndexSpecPathSelectorPerResourceIndices{}
  1728  }
  1729  
  1730  type MetricDescriptor_IndexSpecPathSelectorPerResourceResource struct{}
  1731  
  1732  func (MetricDescriptor_IndexSpecPathSelectorPerResourceResource) FieldPath() *MetricDescriptorIndexSpec_FieldSubPath {
  1733  	return &MetricDescriptorIndexSpec_FieldSubPath{
  1734  		selector: MetricDescriptorIndexSpec_FieldPathSelectorPerResource,
  1735  		subPath:  NewMetricDescriptorIndexSpecPerMonitoredResourceFieldPathBuilder().Resource().FieldPath(),
  1736  	}
  1737  }
  1738  
  1739  func (s MetricDescriptor_IndexSpecPathSelectorPerResourceResource) WithValue(value *monitored_resource_descriptor.Reference) *MetricDescriptorIndexSpec_FieldSubPathValue {
  1740  	return s.FieldPath().WithIValue(value).(*MetricDescriptorIndexSpec_FieldSubPathValue)
  1741  }
  1742  
  1743  func (s MetricDescriptor_IndexSpecPathSelectorPerResourceResource) WithArrayOfValues(values []*monitored_resource_descriptor.Reference) *MetricDescriptorIndexSpec_FieldSubPathArrayOfValues {
  1744  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptorIndexSpec_FieldSubPathArrayOfValues)
  1745  }
  1746  
  1747  type MetricDescriptor_IndexSpecPathSelectorPerResourceIndices struct{}
  1748  
  1749  func (MetricDescriptor_IndexSpecPathSelectorPerResourceIndices) FieldPath() *MetricDescriptorIndexSpec_FieldSubPath {
  1750  	return &MetricDescriptorIndexSpec_FieldSubPath{
  1751  		selector: MetricDescriptorIndexSpec_FieldPathSelectorPerResource,
  1752  		subPath:  NewMetricDescriptorIndexSpecPerMonitoredResourceFieldPathBuilder().Indices().FieldPath(),
  1753  	}
  1754  }
  1755  
  1756  func (s MetricDescriptor_IndexSpecPathSelectorPerResourceIndices) WithValue(value []*MetricDescriptor_IndexSpec_Index) *MetricDescriptorIndexSpec_FieldSubPathValue {
  1757  	return s.FieldPath().WithIValue(value).(*MetricDescriptorIndexSpec_FieldSubPathValue)
  1758  }
  1759  
  1760  func (s MetricDescriptor_IndexSpecPathSelectorPerResourceIndices) WithArrayOfValues(values [][]*MetricDescriptor_IndexSpec_Index) *MetricDescriptorIndexSpec_FieldSubPathArrayOfValues {
  1761  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptorIndexSpec_FieldSubPathArrayOfValues)
  1762  }
  1763  
  1764  func (s MetricDescriptor_IndexSpecPathSelectorPerResourceIndices) WithItemValue(value *MetricDescriptor_IndexSpec_Index) *MetricDescriptorIndexSpec_FieldSubPathArrayItemValue {
  1765  	return s.FieldPath().WithIArrayItemValue(value).(*MetricDescriptorIndexSpec_FieldSubPathArrayItemValue)
  1766  }
  1767  
  1768  func (MetricDescriptor_IndexSpecPathSelectorPerResourceIndices) PromotedLabels() MetricDescriptor_IndexSpecPathSelectorPerResourceIndicesPromotedLabels {
  1769  	return MetricDescriptor_IndexSpecPathSelectorPerResourceIndicesPromotedLabels{}
  1770  }
  1771  
  1772  func (MetricDescriptor_IndexSpecPathSelectorPerResourceIndices) WriteOnly() MetricDescriptor_IndexSpecPathSelectorPerResourceIndicesWriteOnly {
  1773  	return MetricDescriptor_IndexSpecPathSelectorPerResourceIndicesWriteOnly{}
  1774  }
  1775  
  1776  type MetricDescriptor_IndexSpecPathSelectorPerResourceIndicesPromotedLabels struct{}
  1777  
  1778  func (MetricDescriptor_IndexSpecPathSelectorPerResourceIndicesPromotedLabels) FieldPath() *MetricDescriptorIndexSpec_FieldSubPath {
  1779  	return &MetricDescriptorIndexSpec_FieldSubPath{
  1780  		selector: MetricDescriptorIndexSpec_FieldPathSelectorPerResource,
  1781  		subPath:  NewMetricDescriptorIndexSpecPerMonitoredResourceFieldPathBuilder().Indices().PromotedLabels().FieldPath(),
  1782  	}
  1783  }
  1784  
  1785  func (s MetricDescriptor_IndexSpecPathSelectorPerResourceIndicesPromotedLabels) WithValue(value []string) *MetricDescriptorIndexSpec_FieldSubPathValue {
  1786  	return s.FieldPath().WithIValue(value).(*MetricDescriptorIndexSpec_FieldSubPathValue)
  1787  }
  1788  
  1789  func (s MetricDescriptor_IndexSpecPathSelectorPerResourceIndicesPromotedLabels) WithArrayOfValues(values [][]string) *MetricDescriptorIndexSpec_FieldSubPathArrayOfValues {
  1790  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptorIndexSpec_FieldSubPathArrayOfValues)
  1791  }
  1792  
  1793  func (s MetricDescriptor_IndexSpecPathSelectorPerResourceIndicesPromotedLabels) WithItemValue(value string) *MetricDescriptorIndexSpec_FieldSubPathArrayItemValue {
  1794  	return s.FieldPath().WithIArrayItemValue(value).(*MetricDescriptorIndexSpec_FieldSubPathArrayItemValue)
  1795  }
  1796  
  1797  type MetricDescriptor_IndexSpecPathSelectorPerResourceIndicesWriteOnly struct{}
  1798  
  1799  func (MetricDescriptor_IndexSpecPathSelectorPerResourceIndicesWriteOnly) FieldPath() *MetricDescriptorIndexSpec_FieldSubPath {
  1800  	return &MetricDescriptorIndexSpec_FieldSubPath{
  1801  		selector: MetricDescriptorIndexSpec_FieldPathSelectorPerResource,
  1802  		subPath:  NewMetricDescriptorIndexSpecPerMonitoredResourceFieldPathBuilder().Indices().WriteOnly().FieldPath(),
  1803  	}
  1804  }
  1805  
  1806  func (s MetricDescriptor_IndexSpecPathSelectorPerResourceIndicesWriteOnly) WithValue(value bool) *MetricDescriptorIndexSpec_FieldSubPathValue {
  1807  	return s.FieldPath().WithIValue(value).(*MetricDescriptorIndexSpec_FieldSubPathValue)
  1808  }
  1809  
  1810  func (s MetricDescriptor_IndexSpecPathSelectorPerResourceIndicesWriteOnly) WithArrayOfValues(values []bool) *MetricDescriptorIndexSpec_FieldSubPathArrayOfValues {
  1811  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptorIndexSpec_FieldSubPathArrayOfValues)
  1812  }
  1813  
  1814  type MetricDescriptorStorageConfigFieldPathBuilder struct{}
  1815  
  1816  func NewMetricDescriptorStorageConfigFieldPathBuilder() MetricDescriptorStorageConfigFieldPathBuilder {
  1817  	return MetricDescriptorStorageConfigFieldPathBuilder{}
  1818  }
  1819  func (MetricDescriptorStorageConfigFieldPathBuilder) StoreRawPoints() MetricDescriptor_StorageConfigPathSelectorStoreRawPoints {
  1820  	return MetricDescriptor_StorageConfigPathSelectorStoreRawPoints{}
  1821  }
  1822  
  1823  type MetricDescriptor_StorageConfigPathSelectorStoreRawPoints struct{}
  1824  
  1825  func (MetricDescriptor_StorageConfigPathSelectorStoreRawPoints) FieldPath() *MetricDescriptorStorageConfig_FieldTerminalPath {
  1826  	return &MetricDescriptorStorageConfig_FieldTerminalPath{selector: MetricDescriptorStorageConfig_FieldPathSelectorStoreRawPoints}
  1827  }
  1828  
  1829  func (s MetricDescriptor_StorageConfigPathSelectorStoreRawPoints) WithValue(value bool) *MetricDescriptorStorageConfig_FieldTerminalPathValue {
  1830  	return s.FieldPath().WithIValue(value).(*MetricDescriptorStorageConfig_FieldTerminalPathValue)
  1831  }
  1832  
  1833  func (s MetricDescriptor_StorageConfigPathSelectorStoreRawPoints) WithArrayOfValues(values []bool) *MetricDescriptorStorageConfig_FieldTerminalPathArrayOfValues {
  1834  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptorStorageConfig_FieldTerminalPathArrayOfValues)
  1835  }
  1836  
  1837  type MetricDescriptorIndexSpecIndexFieldPathBuilder struct{}
  1838  
  1839  func NewMetricDescriptorIndexSpecIndexFieldPathBuilder() MetricDescriptorIndexSpecIndexFieldPathBuilder {
  1840  	return MetricDescriptorIndexSpecIndexFieldPathBuilder{}
  1841  }
  1842  func (MetricDescriptorIndexSpecIndexFieldPathBuilder) PromotedLabels() MetricDescriptor_IndexSpec_IndexPathSelectorPromotedLabels {
  1843  	return MetricDescriptor_IndexSpec_IndexPathSelectorPromotedLabels{}
  1844  }
  1845  func (MetricDescriptorIndexSpecIndexFieldPathBuilder) WriteOnly() MetricDescriptor_IndexSpec_IndexPathSelectorWriteOnly {
  1846  	return MetricDescriptor_IndexSpec_IndexPathSelectorWriteOnly{}
  1847  }
  1848  
  1849  type MetricDescriptor_IndexSpec_IndexPathSelectorPromotedLabels struct{}
  1850  
  1851  func (MetricDescriptor_IndexSpec_IndexPathSelectorPromotedLabels) FieldPath() *MetricDescriptorIndexSpecIndex_FieldTerminalPath {
  1852  	return &MetricDescriptorIndexSpecIndex_FieldTerminalPath{selector: MetricDescriptorIndexSpecIndex_FieldPathSelectorPromotedLabels}
  1853  }
  1854  
  1855  func (s MetricDescriptor_IndexSpec_IndexPathSelectorPromotedLabels) WithValue(value []string) *MetricDescriptorIndexSpecIndex_FieldTerminalPathValue {
  1856  	return s.FieldPath().WithIValue(value).(*MetricDescriptorIndexSpecIndex_FieldTerminalPathValue)
  1857  }
  1858  
  1859  func (s MetricDescriptor_IndexSpec_IndexPathSelectorPromotedLabels) WithArrayOfValues(values [][]string) *MetricDescriptorIndexSpecIndex_FieldTerminalPathArrayOfValues {
  1860  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptorIndexSpecIndex_FieldTerminalPathArrayOfValues)
  1861  }
  1862  
  1863  func (s MetricDescriptor_IndexSpec_IndexPathSelectorPromotedLabels) WithItemValue(value string) *MetricDescriptorIndexSpecIndex_FieldTerminalPathArrayItemValue {
  1864  	return s.FieldPath().WithIArrayItemValue(value).(*MetricDescriptorIndexSpecIndex_FieldTerminalPathArrayItemValue)
  1865  }
  1866  
  1867  type MetricDescriptor_IndexSpec_IndexPathSelectorWriteOnly struct{}
  1868  
  1869  func (MetricDescriptor_IndexSpec_IndexPathSelectorWriteOnly) FieldPath() *MetricDescriptorIndexSpecIndex_FieldTerminalPath {
  1870  	return &MetricDescriptorIndexSpecIndex_FieldTerminalPath{selector: MetricDescriptorIndexSpecIndex_FieldPathSelectorWriteOnly}
  1871  }
  1872  
  1873  func (s MetricDescriptor_IndexSpec_IndexPathSelectorWriteOnly) WithValue(value bool) *MetricDescriptorIndexSpecIndex_FieldTerminalPathValue {
  1874  	return s.FieldPath().WithIValue(value).(*MetricDescriptorIndexSpecIndex_FieldTerminalPathValue)
  1875  }
  1876  
  1877  func (s MetricDescriptor_IndexSpec_IndexPathSelectorWriteOnly) WithArrayOfValues(values []bool) *MetricDescriptorIndexSpecIndex_FieldTerminalPathArrayOfValues {
  1878  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptorIndexSpecIndex_FieldTerminalPathArrayOfValues)
  1879  }
  1880  
  1881  type MetricDescriptorIndexSpecPerMonitoredResourceFieldPathBuilder struct{}
  1882  
  1883  func NewMetricDescriptorIndexSpecPerMonitoredResourceFieldPathBuilder() MetricDescriptorIndexSpecPerMonitoredResourceFieldPathBuilder {
  1884  	return MetricDescriptorIndexSpecPerMonitoredResourceFieldPathBuilder{}
  1885  }
  1886  func (MetricDescriptorIndexSpecPerMonitoredResourceFieldPathBuilder) Resource() MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorResource {
  1887  	return MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorResource{}
  1888  }
  1889  func (MetricDescriptorIndexSpecPerMonitoredResourceFieldPathBuilder) Indices() MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorIndices {
  1890  	return MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorIndices{}
  1891  }
  1892  
  1893  type MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorResource struct{}
  1894  
  1895  func (MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorResource) FieldPath() *MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPath {
  1896  	return &MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPath{selector: MetricDescriptorIndexSpecPerMonitoredResource_FieldPathSelectorResource}
  1897  }
  1898  
  1899  func (s MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorResource) WithValue(value *monitored_resource_descriptor.Reference) *MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPathValue {
  1900  	return s.FieldPath().WithIValue(value).(*MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPathValue)
  1901  }
  1902  
  1903  func (s MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorResource) WithArrayOfValues(values []*monitored_resource_descriptor.Reference) *MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPathArrayOfValues {
  1904  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPathArrayOfValues)
  1905  }
  1906  
  1907  type MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorIndices struct{}
  1908  
  1909  func (MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorIndices) FieldPath() *MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPath {
  1910  	return &MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPath{selector: MetricDescriptorIndexSpecPerMonitoredResource_FieldPathSelectorIndices}
  1911  }
  1912  
  1913  func (s MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorIndices) WithValue(value []*MetricDescriptor_IndexSpec_Index) *MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPathValue {
  1914  	return s.FieldPath().WithIValue(value).(*MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPathValue)
  1915  }
  1916  
  1917  func (s MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorIndices) WithArrayOfValues(values [][]*MetricDescriptor_IndexSpec_Index) *MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPathArrayOfValues {
  1918  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPathArrayOfValues)
  1919  }
  1920  
  1921  func (s MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorIndices) WithItemValue(value *MetricDescriptor_IndexSpec_Index) *MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPathArrayItemValue {
  1922  	return s.FieldPath().WithIArrayItemValue(value).(*MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPathArrayItemValue)
  1923  }
  1924  func (MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorIndices) WithSubPath(subPath MetricDescriptorIndexSpecIndex_FieldPath) *MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPath {
  1925  	return &MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPath{selector: MetricDescriptorIndexSpecPerMonitoredResource_FieldPathSelectorIndices, subPath: subPath}
  1926  }
  1927  
  1928  func (s MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorIndices) WithSubValue(subPathValue MetricDescriptorIndexSpecIndex_FieldPathValue) *MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPathValue {
  1929  	return &MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPathValue{MetricDescriptorIndexSpecPerMonitoredResource_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue}
  1930  }
  1931  
  1932  func (s MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorIndices) WithSubArrayOfValues(subPathArrayOfValues MetricDescriptorIndexSpecIndex_FieldPathArrayOfValues) *MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPathArrayOfValues {
  1933  	return &MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPathArrayOfValues{MetricDescriptorIndexSpecPerMonitoredResource_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues}
  1934  }
  1935  
  1936  func (s MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorIndices) WithSubArrayItemValue(subPathArrayItemValue MetricDescriptorIndexSpecIndex_FieldPathArrayItemValue) *MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPathArrayItemValue {
  1937  	return &MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPathArrayItemValue{MetricDescriptorIndexSpecPerMonitoredResource_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue}
  1938  }
  1939  
  1940  func (MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorIndices) PromotedLabels() MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorIndicesPromotedLabels {
  1941  	return MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorIndicesPromotedLabels{}
  1942  }
  1943  
  1944  func (MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorIndices) WriteOnly() MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorIndicesWriteOnly {
  1945  	return MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorIndicesWriteOnly{}
  1946  }
  1947  
  1948  type MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorIndicesPromotedLabels struct{}
  1949  
  1950  func (MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorIndicesPromotedLabels) FieldPath() *MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPath {
  1951  	return &MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPath{
  1952  		selector: MetricDescriptorIndexSpecPerMonitoredResource_FieldPathSelectorIndices,
  1953  		subPath:  NewMetricDescriptorIndexSpecIndexFieldPathBuilder().PromotedLabels().FieldPath(),
  1954  	}
  1955  }
  1956  
  1957  func (s MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorIndicesPromotedLabels) WithValue(value []string) *MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPathValue {
  1958  	return s.FieldPath().WithIValue(value).(*MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPathValue)
  1959  }
  1960  
  1961  func (s MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorIndicesPromotedLabels) WithArrayOfValues(values [][]string) *MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPathArrayOfValues {
  1962  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPathArrayOfValues)
  1963  }
  1964  
  1965  func (s MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorIndicesPromotedLabels) WithItemValue(value string) *MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPathArrayItemValue {
  1966  	return s.FieldPath().WithIArrayItemValue(value).(*MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPathArrayItemValue)
  1967  }
  1968  
  1969  type MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorIndicesWriteOnly struct{}
  1970  
  1971  func (MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorIndicesWriteOnly) FieldPath() *MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPath {
  1972  	return &MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPath{
  1973  		selector: MetricDescriptorIndexSpecPerMonitoredResource_FieldPathSelectorIndices,
  1974  		subPath:  NewMetricDescriptorIndexSpecIndexFieldPathBuilder().WriteOnly().FieldPath(),
  1975  	}
  1976  }
  1977  
  1978  func (s MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorIndicesWriteOnly) WithValue(value bool) *MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPathValue {
  1979  	return s.FieldPath().WithIValue(value).(*MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPathValue)
  1980  }
  1981  
  1982  func (s MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorIndicesWriteOnly) WithArrayOfValues(values []bool) *MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPathArrayOfValues {
  1983  	return s.FieldPath().WithIArrayOfValues(values).(*MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPathArrayOfValues)
  1984  }