Class AccountLabelName (0.9.0)

public class AccountLabelName implements ResourceName

Inheritance

Object > AccountLabelName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String account, String label)

public static String format(String account, String label)
Parameters
NameDescription
accountString
labelString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String account, String label)

public static AccountLabelName of(String account, String label)
Parameters
NameDescription
accountString
labelString
Returns
TypeDescription
AccountLabelName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<AccountLabelName> values)

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

Constructors

AccountLabelName() (deprecated)

protected AccountLabelName()

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>

getLabel()

public String getLabel()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides