Class ProductName (3.1.1)

Stay organized with collections Save and categorize content based on your preferences.
public class ProductName implements ResourceName

Inheritance

Object > ProductName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String product)

public static String format(String project, String location, String product)
Parameters
NameDescription
projectString
locationString
productString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String product)

public static ProductName of(String project, String location, String product)
Parameters
NameDescription
projectString
locationString
productString
Returns
TypeDescription
ProductName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<ProductName> values)

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

Constructors

ProductName()

protected ProductName()

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<