Class CaseName (0.29.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
Name Description
organization String
case_ String
Returns
Type Description
String

formatOrganizationCaseName(String organization, String case_)

public static String formatOrganizationCaseName(String organization, String case_)
Parameters
Name Description
organization String
case_ String
Returns
Type Description
String

formatProjectCaseName(String project, String case_)

public static String formatProjectCaseName(String project, String case_)
Parameters
Name Description
project String
case_ 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 CaseName.Builder newBuilder()
Returns
Type Description
CaseName.Builder

newOrganizationCaseBuilder()

public static CaseName.Builder newOrganizationCaseBuilder()
Returns
Type Description
CaseName.Builder

newProjectCaseBuilder()

public static CaseName.ProjectCaseBuilder newProjectCaseBuilder()
Returns
Type Description
CaseName.ProjectCaseBuilder

of(String organization, String case_)

public static CaseName of(String organization, String case_)
Parameters
Name Description
organization String
case_ String
Returns
Type Description
CaseName

ofOrganizationCaseName(String organization, String case_)

public static CaseName ofOrganizationCaseName(String organization, String case_)
Parameters
Name Description
organization String
case_ String
Returns
Type Description
CaseName

ofProjectCaseName(String project, String case_)

public static CaseName ofProjectCaseName(String project, String case_)
Parameters
Name Description
project String
case_ String
Returns
Type Description
CaseName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<CaseName> values)

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

Constructors

CaseName() (deprecated)

protected CaseName()

Methods

equals(Object o)

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

getCase()

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

getOrganization()

public String getOrganization()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
Type Description
String
Overrides