Class PythonPackageName (1.11.0)

public class PythonPackageName implements ResourceName

Inheritance

Object > PythonPackageName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String repository, String pythonPackage)

public static String format(String project, String location, String repository, String pythonPackage)
Parameters
NameDescription
projectString
locationString
repositoryString
pythonPackageString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String repository, String pythonPackage)

public static PythonPackageName of(String project, String location, String repository, String pythonPackage)
Parameters
NameDescription
projectString
locationString
repositoryString
pythonPackageString
Returns
TypeDescription
PythonPackageName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<PythonPackageName> values)

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

Constructors

PythonPackageName()

protected PythonPackageName()

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

getPythonPackage()

public String getPythonPackage()
Returns
TypeDescription
String

getRepository()

public String getRepository()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides