Class ProductName (3.1.0)

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
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
TypeDescription
Map<String,String>

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProduct()

public String getProduct()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides