Class TaskName (0.32.0)

public class TaskName implements ResourceName

Inheritance

Object > TaskName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String job, String execution, String task)

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

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String job, String execution, String task)

public static TaskName of(String project, String location, String job, String execution, String task)
Parameters
NameDescription
projectString
locationString
jobString
executionString
taskString
Returns
TypeDescription
TaskName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<TaskName> values)

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

Constructors

TaskName() (deprecated)

protected TaskName()

Methods

equals(Object o)

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

getExecution()

public String getExecution()
Returns
TypeDescription
String

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

getTask()

public String getTask()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides