Class AnnotationName
- java.lang.Object
-
- com.google.cloud.rapidmigrationassessment.v1.AnnotationName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class AnnotationName extends Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AnnotationName.Builder
Builder for projects/{project}/locations/{location}/annotations/{annotation}.
-
Constructor Summary
Constructors Modifier Constructor Description protected
AnnotationName()
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Constructor Detail
-
AnnotationName
@Deprecated protected AnnotationName()
Deprecated.
-
-
Method Detail
-
getProject
public String getProject()
-
getLocation
public String getLocation()
-
getAnnotation
public String getAnnotation()
-
newBuilder
public static AnnotationName.Builder newBuilder()
-
toBuilder
public AnnotationName.Builder toBuilder()
-
of
public static AnnotationName of(String project, String location, String annotation)
-
parse
public static AnnotationName parse(String formattedString)
-
parseList
public static List<AnnotationName> parseList(List<String> formattedStrings)
-
toStringList
public static List<String> toStringList(List<AnnotationName> values)
-
isParsableFrom
public static boolean isParsableFrom(String formattedString)
-
getFieldValuesMap
public Map<String,String> getFieldValuesMap()
- Specified by:
getFieldValuesMap
in interfacecom.google.api.resourcenames.ResourceName
-
getFieldValue
public String getFieldValue(String fieldName)
- Specified by:
getFieldValue
in interfacecom.google.api.resourcenames.ResourceName
-
-