Class LocalInventoryName (0.11.0)

public class LocalInventoryName implements ResourceName

Inheritance

Object > LocalInventoryName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String account, String product, String storeCode)

public static String format(String account, String product, String storeCode)
Parameters
NameDescription
accountString
productString
storeCodeString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String account, String product, String storeCode)

public static LocalInventoryName of(String account, String product, String storeCode)
Parameters
NameDescription
accountString
productString
storeCodeString
Returns
TypeDescription
LocalInventoryName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<LocalInventoryName> values)

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

Constructors

LocalInventoryName() (deprecated)

protected LocalInventoryName()

Methods

equals(Object o)

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

getAccount()

public String getAccount()
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>

getProduct()

public String getProduct()
Returns
TypeDescription
String

getStoreCode()

public String getStoreCode()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides