Class MonitoredProjectName (0.24.0)

public class MonitoredProjectName implements ResourceName

Inheritance

Object > MonitoredProjectName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String metricsScope, String project)

public static String format(String metricsScope, String project)
Parameters
NameDescription
metricsScopeString
projectString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String metricsScope, String project)

public static MonitoredProjectName of(String metricsScope, String project)
Parameters
NameDescription
metricsScopeString
projectString
Returns
TypeDescription
MonitoredProjectName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<MonitoredProjectName> values)

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

Constructors

MonitoredProjectName()

protected MonitoredProjectName()

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

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides