Class MetricDescriptorName.Builder (3.4.4)

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
TypeDescription
MetricDescriptorName

getMetricDescriptor()

public String getMetricDescriptor()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

setMetricDescriptor(String metricDescriptor)

public MetricDescriptorName.Builder setMetricDescriptor(String metricDescriptor)
Parameter
NameDescription
metricDescriptorString
Returns
TypeDescription
MetricDescriptorName.Builder

setProject(String project)

public MetricDescriptorName.Builder setProject(String project)
Parameter
NameDescription
projectString
Returns
TypeDescription
MetricDescriptorName.Builder