Class AccessLevelName (1.41.0)

public class AccessLevelName implements ResourceName

Inheritance

Object > AccessLevelName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String accessPolicy, String accessLevel)

public static String format(String accessPolicy, String accessLevel)
Parameters
NameDescription
accessPolicyString
accessLevelString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String accessPolicy, String accessLevel)

public static AccessLevelName of(String accessPolicy, String accessLevel)
Parameters
NameDescription
accessPolicyString
accessLevelString
Returns
TypeDescription
AccessLevelName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<AccessLevelName> values)

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

Constructors

AccessLevelName() (deprecated)

protected AccessLevelName()

Methods

equals(Object o)

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

getAccessLevel()

public String getAccessLevel()
Returns
TypeDescription
String

getAccessPolicy()

public String getAccessPolicy()
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 AccessLevelName.Builder toBuilder()
Returns
TypeDescription
AccessLevelName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides