Class RoleName (0.4.0)

public class RoleName implements ResourceName

Inheritance

Object > RoleName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String networkCode, String role)

public static String format(String networkCode, String role)
Parameters
Name Description
networkCode String
role 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 RoleName.Builder newBuilder()
Returns
Type Description
RoleName.Builder

of(String networkCode, String role)

public static RoleName of(String networkCode, String role)
Parameters
Name Description
networkCode String
role String
Returns
Type Description
RoleName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<RoleName> values)

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

Constructors

RoleName() (deprecated)

protected RoleName()

Methods

equals(Object o)

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

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>

getNetworkCode()

public String getNetworkCode()
Returns
Type Description
String

getRole()

public String getRole()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
Type Description
String
Overrides