Class ProjectName (0.70.0)

public class ProjectName implements ResourceName

Inheritance

Object > ProjectName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project)

public static String format(String project)
Parameter
NameDescription
projectString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project)

public static ProjectName of(String project)
Parameter
NameDescription
projectString
Returns
TypeDescription
ProjectName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<ProjectName> values)

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

Constructors

ProjectName() (deprecated)

protected ProjectName()

Methods

equals(Object o)

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

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>

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides