Class AccountName (0.20.0)

public class AccountName implements ResourceName

Inheritance

Object > AccountName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String account)

public static String format(String account)
Parameter
NameDescription
accountString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String account)

public static AccountName of(String account)
Parameter
NameDescription
accountString
Returns
TypeDescription
AccountName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<AccountName> values)

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

Constructors

AccountName()

protected AccountName()

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>

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides