Class AuthorizationName (2.40.0)

public class AuthorizationName implements ResourceName

Inheritance

Object > AuthorizationName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project)

public static String format(String project)
Parameter
NameDescription
projectString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project)

public static AuthorizationName of(String project)
Parameter
NameDescription
projectString
Returns
TypeDescription
AuthorizationName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<AuthorizationName> values)

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

Constructors

AuthorizationName() (deprecated)

protected AuthorizationName()

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>

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides