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