Class ProjectName (3.17.2)

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
Name Description
project 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 ProjectName.Builder newBuilder()
Returns
Type Description
ProjectName.Builder

of(String project)

public static ProjectName of(String project)
Parameter
Name Description
project String
Returns
Type Description
ProjectName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<ProjectName> values)

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

Constructors

ProjectName() (deprecated)

protected ProjectName()

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>

getProject()

public String getProject()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
Type Description
String
Overrides