Class TargetProjectName (1.20.0)

public class TargetProjectName implements ResourceName

Inheritance

Object > TargetProjectName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String targetProject)

public static String format(String project, String location, String targetProject)
Parameters
NameDescription
projectString
locationString
targetProjectString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String targetProject)

public static TargetProjectName of(String project, String location, String targetProject)
Parameters
NameDescription
projectString
locationString
targetProjectString
Returns
TypeDescription
TargetProjectName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<TargetProjectName> values)

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

Constructors

TargetProjectName()

protected TargetProjectName()

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>

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getTargetProject()

public String getTargetProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides