Class MonitoredProjectName (0.39.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
Name Description
metricsScope String
project 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 MonitoredProjectName.Builder newBuilder()
Returns
Type Description
MonitoredProjectName.Builder

of(String metricsScope, String project)

public static MonitoredProjectName of(String metricsScope, String project)
Parameters
Name Description
metricsScope String
project String
Returns
Type Description
MonitoredProjectName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<MonitoredProjectName> values)

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

Constructors

MonitoredProjectName() (deprecated)

protected MonitoredProjectName()

Methods

equals(Object o)

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

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>

getMetricsScope()

public String getMetricsScope()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
Type Description
String
Overrides