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 protectedBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogMetricNamebuild()StringgetMetric()StringgetProject()LogMetricName.BuildersetMetric(String metric)LogMetricName.BuildersetProject(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()
-
-