@Generated(value="by gapic-generator-java") public class TaskName extends Object implements com.google.api.resourcenames.ResourceName
Modifier and Type | Class and Description |
---|---|
static class |
TaskName.Builder
Builder for projects/{project}/locations/{location}/queues/{queue}/tasks/{task}.
|
Modifier | Constructor and Description |
---|---|
protected |
TaskName()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static String |
format(String project,
String location,
String queue,
String task) |
String |
getFieldValue(String fieldName) |
Map<String,String> |
getFieldValuesMap() |
String |
getLocation() |
String |
getProject() |
String |
getQueue() |
String |
getTask() |
int |
hashCode() |
static boolean |
isParsableFrom(String formattedString) |
static TaskName.Builder |
newBuilder() |
static TaskName |
of(String project,
String location,
String queue,
String task) |
static TaskName |
parse(String formattedString) |
static List<TaskName> |
parseList(List<String> formattedStrings) |
TaskName.Builder |
toBuilder() |
String |
toString() |
static List<String> |
toStringList(List<TaskName> values) |
@Deprecated protected TaskName()
public String getProject()
public String getLocation()
public String getQueue()
public String getTask()
public static TaskName.Builder newBuilder()
public TaskName.Builder toBuilder()
public static boolean isParsableFrom(String formattedString)
public Map<String,String> getFieldValuesMap()
getFieldValuesMap
in interface com.google.api.resourcenames.ResourceName
public String getFieldValue(String fieldName)
getFieldValue
in interface com.google.api.resourcenames.ResourceName
Copyright © 2022 Google LLC. All rights reserved.