Class CalculatedMetricName (0.50.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
NameDescription
propertyString
calculatedMetricString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String property, String calculatedMetric)

public static CalculatedMetricName of(String property, String calculatedMetric)
Parameters
NameDescription
propertyString
calculatedMetricString
Returns
TypeDescription
CalculatedMetricName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<CalculatedMetricName> values)

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

Constructors

CalculatedMetricName() (deprecated)

protected CalculatedMetricName()

Methods

equals(Object o)

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

getCalculatedMetric()

public String getCalculatedMetric()
Returns
TypeDescription
String

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>

getProperty()

public String getProperty()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides