Class CalculatedMetricName (0.54.0)

public class CalculatedMetricName implements ResourceName

Inheritance

Object > CalculatedMetricName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String property, String calculatedMetric)

public static String format(String property, String calculatedMetric)
Parameters
Name Description
property String
calculatedMetric String
Returns
Type Description
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
boolean

newBuilder()

public static CalculatedMetricName.Builder newBuilder()
Returns
Type Description
CalculatedMetricName.Builder

of(String property, String calculatedMetric)

public static CalculatedMetricName of(String property, String calculatedMetric)
Parameters
Name Description
property String
calculatedMetric String
Returns
Type Description
CalculatedMetricName

parse(String formattedString)

public static CalculatedMetricName parse(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
CalculatedMetricName

parseList(List<String> formattedStrings)

public static List<CalculatedMetricName> parseList(List<String> formattedStrings)
Parameter
Name Description
formattedStrings List<String>
Returns
Type Description
List<CalculatedMetricName>

toStringList(List<CalculatedMetricName> values)

public static List<String> toStringList(List<CalculatedMetricName> values)
Parameter
Name Description
values List<CalculatedMetricName>
Returns
Type Description
List<String>

Constructors

CalculatedMetricName() (deprecated)

protected CalculatedMetricName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getCalculatedMetric()

public String getCalculatedMetric()
Returns
Type Description
String

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
Name Description
fieldName String
Returns
Type Description
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
Type Description
Map<String,String>

getProperty()

public String getProperty()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

public CalculatedMetricName.Builder toBuilder()
Returns
Type Description
CalculatedMetricName.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides