@Generated(value="by gapic-generator-java") public class LogMetricName extends Object implements com.google.api.resourcenames.ResourceName
Modifier and Type | Class and Description |
---|---|
static class |
LogMetricName.Builder
Builder for projects/{project}/metrics/{metric}.
|
Modifier | Constructor and Description |
---|---|
protected |
LogMetricName()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static String |
format(String project,
String metric) |
String |
getFieldValue(String fieldName) |
Map<String,String> |
getFieldValuesMap() |
String |
getMetric() |
String |
getProject() |
int |
hashCode() |
static boolean |
isParsableFrom(String formattedString) |
static LogMetricName.Builder |
newBuilder() |
static LogMetricName |
of(String project,
String metric) |
static LogMetricName |
parse(String formattedString) |
static List<LogMetricName> |
parseList(List<String> formattedStrings) |
LogMetricName.Builder |
toBuilder() |
String |
toString() |
static List<String> |
toStringList(List<LogMetricName> values) |
@Deprecated protected LogMetricName()
public String getProject()
public String getMetric()
public static LogMetricName.Builder newBuilder()
public LogMetricName.Builder toBuilder()
public static LogMetricName of(String project, String metric)
public static LogMetricName parse(String formattedString)
public static List<LogMetricName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<LogMetricName> values)
public static boolean isParsableFrom(String formattedString)
public Map<String,String> getFieldValuesMap()
getFieldValuesMap
in interface com.google.api.resourcenames.ResourceName
public String getFieldValue(String fieldName)
getFieldValue
in interface com.google.api.resourcenames.ResourceName
Copyright © 2023 Google LLC. All rights reserved.