Class MembershipName (0.15.0)

public class MembershipName implements ResourceName

Inheritance

Object > MembershipName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String space, String member)

public static String format(String space, String member)
Parameters
Name Description
space String
member 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 MembershipName.Builder newBuilder()
Returns
Type Description
MembershipName.Builder

of(String space, String member)

public static MembershipName of(String space, String member)
Parameters
Name Description
space String
member String
Returns
Type Description
MembershipName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<MembershipName> values)

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

Constructors

MembershipName() (deprecated)

protected MembershipName()

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>

getMember()

public String getMember()
Returns
Type Description
String

getSpace()

public String getSpace()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
Type Description
String
Overrides