Class TaskName (2.20.0)

public class TaskName implements ResourceName

Inheritance

Object > TaskName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String queue, String task)

public static String format(String project, String location, String queue, String task)
Parameters
NameDescription
projectString
locationString
queueString
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 queue, String task)

public static TaskName of(String project, String location, String queue, String task)
Parameters
NameDescription
projectString
locationString
queueString
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()

protected TaskName()

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

getQueue()

public String getQueue()
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