public interface CreateMetricDescriptorRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
com.google.api.MetricDescriptor |
getMetricDescriptor()
Required.
|
com.google.api.MetricDescriptorOrBuilder |
getMetricDescriptorOrBuilder()
Required.
|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
boolean |
hasMetricDescriptor()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
Required. The
[project](https://cloud.google.com/monitoring/api/v3#project_name) on which
to execute the request. The format is:
4
projects/[PROJECT_ID_OR_NUMBER]
string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
com.google.protobuf.ByteString getNameBytes()
Required. The
[project](https://cloud.google.com/monitoring/api/v3#project_name) on which
to execute the request. The format is:
4
projects/[PROJECT_ID_OR_NUMBER]
string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
boolean hasMetricDescriptor()
Required. The new [custom metric](https://cloud.google.com/monitoring/custom-metrics) descriptor.
.google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED];
com.google.api.MetricDescriptor getMetricDescriptor()
Required. The new [custom metric](https://cloud.google.com/monitoring/custom-metrics) descriptor.
.google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED];
com.google.api.MetricDescriptorOrBuilder getMetricDescriptorOrBuilder()
Required. The new [custom metric](https://cloud.google.com/monitoring/custom-metrics) descriptor.
.google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED];
Copyright © 2024 Google LLC. All rights reserved.