Class MetricsScopeName (0.22.0)

public class MetricsScopeName implements ResourceName

Inheritance

Object > MetricsScopeName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String metricsScope)

public static String format(String metricsScope)
Parameter
NameDescription
metricsScopeString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
boolean

newBuilder()

public static MetricsScopeName.Builder newBuilder()
Returns
TypeDescription
MetricsScopeName.Builder

of(String metricsScope)

public static MetricsScopeName of(String metricsScope)
Parameter
NameDescription
metricsScopeString
Returns
TypeDescription
MetricsScopeName

parse(String formattedString)

public static MetricsScopeName parse(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
MetricsScopeName

parseList(List<String> formattedStrings)

public static List<MetricsScopeName> parseList(List<String> formattedStrings)
Parameter
NameDescription
formattedStringsList<String>
Returns
TypeDescription
List<MetricsScopeName>

toStringList(List<MetricsScopeName> values)

public static List<String> toStringList(List<MetricsScopeName> values)
Parameter
NameDescription
valuesList<MetricsScopeName>
Returns
TypeDescription
List<String>

Constructors

MetricsScopeName()

protected MetricsScopeName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
NameDescription
fieldNameString
Returns
TypeDescription
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
TypeDescription
Map<String,String>

getMetricsScope()

public String getMetricsScope()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

public MetricsScopeName.Builder toBuilder()
Returns
TypeDescription
MetricsScopeName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides