@Generated(value="by gapic-generator-java") public class AnnotationSpecName extends Object implements com.google.api.resourcenames.ResourceName
| Modifier and Type | Class and Description |
|---|---|
static class |
AnnotationSpecName.Builder
Builder for
projects/{project}/locations/{location}/datasets/{dataset}/annotationSpecs/{annotation_spec}.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AnnotationSpecName()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static String |
format(String project,
String location,
String dataset,
String annotationSpec) |
String |
getAnnotationSpec() |
String |
getDataset() |
String |
getFieldValue(String fieldName) |
Map<String,String> |
getFieldValuesMap() |
String |
getLocation() |
String |
getProject() |
int |
hashCode() |
static boolean |
isParsableFrom(String formattedString) |
static AnnotationSpecName.Builder |
newBuilder() |
static AnnotationSpecName |
of(String project,
String location,
String dataset,
String annotationSpec) |
static AnnotationSpecName |
parse(String formattedString) |
static List<AnnotationSpecName> |
parseList(List<String> formattedStrings) |
AnnotationSpecName.Builder |
toBuilder() |
String |
toString() |
static List<String> |
toStringList(List<AnnotationSpecName> values) |
@Deprecated protected AnnotationSpecName()
public String getProject()
public String getLocation()
public String getDataset()
public String getAnnotationSpec()
public static AnnotationSpecName.Builder newBuilder()
public AnnotationSpecName.Builder toBuilder()
public static AnnotationSpecName of(String project, String location, String dataset, String annotationSpec)
public static String format(String project, String location, String dataset, String annotationSpec)
public static AnnotationSpecName parse(String formattedString)
public static List<AnnotationSpecName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<AnnotationSpecName> values)
public static boolean isParsableFrom(String formattedString)
public Map<String,String> getFieldValuesMap()
getFieldValuesMap in interface com.google.api.resourcenames.ResourceNamepublic String getFieldValue(String fieldName)
getFieldValue in interface com.google.api.resourcenames.ResourceNameCopyright © 2023 Google LLC. All rights reserved.