public interface CreateMetricDescriptorRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getMetricDescriptor()
public abstract MetricDescriptor getMetricDescriptor()Required. The new custom metric descriptor.
.google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
com.google.api.MetricDescriptor |
The metricDescriptor. |
getMetricDescriptorOrBuilder()
public abstract MetricDescriptorOrBuilder getMetricDescriptorOrBuilder()Required. The new custom metric descriptor.
.google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
com.google.api.MetricDescriptorOrBuilder |
|
getName()
public abstract String getName()Required. The project 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) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()Required. The project 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) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
hasMetricDescriptor()
public abstract boolean hasMetricDescriptor()Required. The new custom metric descriptor.
.google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the metricDescriptor field is set. |