Class CaseName (0.7.0)

public class CaseName implements ResourceName

Inheritance

Object > CaseName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String organization, String case_)

public static String format(String organization, String case_)
Parameters
NameDescription
organizationString
case_String
Returns
TypeDescription
String

formatOrganizationCaseName(String organization, String case_)

public static String formatOrganizationCaseName(String organization, String case_)
Parameters
NameDescription
organizationString
case_String
Returns
TypeDescription
String

formatProjectCaseName(String project, String case_)

public static String formatProjectCaseName(String project, String case_)
Parameters
NameDescription
projectString
case_String
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

newOrganizationCaseBuilder()

public static CaseName.Builder newOrganizationCaseBuilder()
Returns
TypeDescription
CaseName.Builder

newProjectCaseBuilder()

public static CaseName.ProjectCaseBuilder newProjectCaseBuilder()
Returns
TypeDescription
CaseName.ProjectCaseBuilder

of(String organization, String case_)

public static CaseName of(String organization, String case_)
Parameters
NameDescription
organizationString
case_String
Returns
TypeDescription
CaseName

ofOrganizationCaseName(String organization, String case_)

public static CaseName ofOrganizationCaseName(String organization, String case_)
Parameters
NameDescription
organizationString
case_String
Returns
TypeDescription
CaseName

ofProjectCaseName(String project, String case_)

public static CaseName ofProjectCaseName(String project, String case_)
Parameters
NameDescription
projectString
case_String
Returns
TypeDescription
CaseName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<CaseName> values)

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

Constructors

CaseName()

protected CaseName()

Methods

equals(Object o)

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

getCase()

public String getCase()
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>

getOrganization()

public String getOrganization()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides