Package com.google.logging.v2
Class LogMetricName.Builder
- java.lang.Object
-
- com.google.logging.v2.LogMetricName.Builder
-
- Enclosing class:
- LogMetricName
public static class LogMetricName.Builder extends Object
Builder for projects/{project}/metrics/{metric}.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogMetricName
build()
String
getMetric()
String
getProject()
LogMetricName.Builder
setMetric(String metric)
LogMetricName.Builder
setProject(String project)
-
-
-
Method Detail
-
getProject
public String getProject()
-
getMetric
public String getMetric()
-
setProject
public LogMetricName.Builder setProject(String project)
-
setMetric
public LogMetricName.Builder setMetric(String metric)
-
build
public LogMetricName build()
-
-