Class LogMetricName.Builder (3.21.0)

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
Type Description
LogMetricName

getMetric()

public String getMetric()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

setMetric(String metric)

public LogMetricName.Builder setMetric(String metric)
Parameter
Name Description
metric String
Returns
Type Description
LogMetricName.Builder

setProject(String project)

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