@Generated(value="by gapic-generator-java") public class BatchName extends Object implements com.google.api.resourcenames.ResourceName
Modifier and Type | Class and Description |
---|---|
static class |
BatchName.Builder
Builder for projects/{project}/locations/{location}/batches/{batch}.
|
Modifier | Constructor and Description |
---|---|
protected |
BatchName()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static String |
format(String project,
String location,
String batch) |
String |
getBatch() |
String |
getFieldValue(String fieldName) |
Map<String,String> |
getFieldValuesMap() |
String |
getLocation() |
String |
getProject() |
int |
hashCode() |
static boolean |
isParsableFrom(String formattedString) |
static BatchName.Builder |
newBuilder() |
static BatchName |
of(String project,
String location,
String batch) |
static BatchName |
parse(String formattedString) |
static List<BatchName> |
parseList(List<String> formattedStrings) |
BatchName.Builder |
toBuilder() |
String |
toString() |
static List<String> |
toStringList(List<BatchName> values) |
@Deprecated protected BatchName()
public String getProject()
public String getLocation()
public String getBatch()
public static BatchName.Builder newBuilder()
public BatchName.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.