Class MetricDescriptorName.Builder (3.47.0)

public static class MetricDescriptorName.Builder

Builder for projects/{project}/metricDescriptors/{metric_descriptor=**}.

Inheritance

java.lang.Object > MetricDescriptorName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public MetricDescriptorName build()
Returns
Type Description
MetricDescriptorName

getMetricDescriptor()

public String getMetricDescriptor()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

setMetricDescriptor(String metricDescriptor)

public MetricDescriptorName.Builder setMetricDescriptor(String metricDescriptor)
Parameter
Name Description
metricDescriptor String
Returns
Type Description
MetricDescriptorName.Builder

setProject(String project)

public MetricDescriptorName.Builder setProject(String project)
Parameter
Name Description
project String
Returns
Type Description
MetricDescriptorName.Builder