Class JobName (2.17.0)

public class JobName implements ResourceName

Inheritance

Object > JobName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String job)

public static String format(String project, String location, String job)
Parameters
NameDescription
projectString
locationString
jobString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String job)

public static JobName of(String project, String location, String job)
Parameters
NameDescription
projectString
locationString
jobString
Returns
TypeDescription
JobName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<JobName> values)

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

Constructors

JobName()

protected JobName()

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>

getJob()

public String getJob()
Returns
TypeDescription
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 JobName.Builder toBuilder()
Returns
TypeDescription
JobName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides