Class LogMetricName.Builder (3.5.3)

public static class LogMetricName.Builder

Builder for projects/{project}/metrics/{metric}.

Inheritance

java.lang.Object > LogMetricName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public LogMetricName build()
Returns
TypeDescription
LogMetricName

getMetric()

public String getMetric()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

setMetric(String metric)

public LogMetricName.Builder setMetric(String metric)
Parameter
NameDescription
metricString
Returns
TypeDescription
LogMetricName.Builder

setProject(String project)

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