@Generated(value="by GAPIC protoc plugin") public class AnnotationName extends Object implements com.google.api.resourcenames.ResourceName
| Modifier and Type | Class and Description |
|---|---|
static class |
AnnotationName.Builder
Builder for AnnotationName.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static String |
format(String project,
String incident,
String annotation) |
String |
getAnnotation() |
String |
getFieldValue(String fieldName) |
Map<String,String> |
getFieldValuesMap() |
String |
getIncident() |
String |
getProject() |
int |
hashCode() |
static boolean |
isParsableFrom(String formattedString) |
static AnnotationName.Builder |
newBuilder() |
static AnnotationName |
of(String project,
String incident,
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) |
public String getProject()
public String getIncident()
public String getAnnotation()
public static AnnotationName.Builder newBuilder()
public AnnotationName.Builder toBuilder()
public static AnnotationName of(String project, String incident, 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 © 2020 Google LLC. All rights reserved.