Class AccessLevelName (1.56.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
Name Description
accessPolicy String
accessLevel String
Returns
Type Description
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
boolean

newBuilder()

public static AccessLevelName.Builder newBuilder()
Returns
Type Description
AccessLevelName.Builder

of(String accessPolicy, String accessLevel)

public static AccessLevelName of(String accessPolicy, String accessLevel)
Parameters
Name Description
accessPolicy String
accessLevel String
Returns
Type Description
AccessLevelName

parse(String formattedString)

public static AccessLevelName parse(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
AccessLevelName

parseList(List<String> formattedStrings)

public static List<AccessLevelName> parseList(List<String> formattedStrings)
Parameter
Name Description
formattedStrings List<String>
Returns
Type Description
List<AccessLevelName>

toStringList(List<AccessLevelName> values)

public static List<String> toStringList(List<AccessLevelName> values)
Parameter
Name Description
values List<AccessLevelName>
Returns
Type Description
List<String>

Constructors

AccessLevelName() (deprecated)

protected AccessLevelName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getAccessLevel()

public String getAccessLevel()
Returns
Type Description
String

getAccessPolicy()

public String getAccessPolicy()
Returns
Type Description
String

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
Name Description
fieldName String
Returns
Type Description
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
Type Description
Map<String,String>

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

public AccessLevelName.Builder toBuilder()
Returns
Type Description
AccessLevelName.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides