Class CustomClassName (4.27.0)

public class CustomClassName implements ResourceName

Inheritance

Object > CustomClassName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String customClass)

public static String format(String project, String location, String customClass)
Parameters
NameDescription
projectString
locationString
customClassString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String customClass)

public static CustomClassName of(String project, String location, String customClass)
Parameters
NameDescription
projectString
locationString
customClassString
Returns
TypeDescription
CustomClassName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<CustomClassName> values)

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

Constructors

CustomClassName() (deprecated)

protected CustomClassName()

Methods

equals(Object o)

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

getCustomClass()

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

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides