Class AnnotationSpecSetName (0.152.0)

public class AnnotationSpecSetName implements ResourceName

Inheritance

Object > AnnotationSpecSetName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String annotationSpecSet)

public static String format(String project, String annotationSpecSet)
Parameters
NameDescription
projectString
annotationSpecSetString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
boolean

newBuilder()

public static AnnotationSpecSetName.Builder newBuilder()
Returns
TypeDescription
AnnotationSpecSetName.Builder

of(String project, String annotationSpecSet)

public static AnnotationSpecSetName of(String project, String annotationSpecSet)
Parameters
NameDescription
projectString
annotationSpecSetString
Returns
TypeDescription
AnnotationSpecSetName

parse(String formattedString)

public static AnnotationSpecSetName parse(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
AnnotationSpecSetName

parseList(List<String> formattedStrings)

public static List<AnnotationSpecSetName> parseList(List<String> formattedStrings)
Parameter
NameDescription
formattedStringsList<String>
Returns
TypeDescription
List<AnnotationSpecSetName>

toStringList(List<AnnotationSpecSetName> values)

public static List<String> toStringList(List<AnnotationSpecSetName> values)
Parameter
NameDescription
valuesList<AnnotationSpecSetName>
Returns
TypeDescription
List<String>

Constructors

AnnotationSpecSetName() (deprecated)

protected AnnotationSpecSetName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getAnnotationSpecSet()

public String getAnnotationSpecSet()
Returns
TypeDescription
String

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
NameDescription
fieldNameString
Returns
TypeDescription
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
TypeDescription
Map<String,String>

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

public AnnotationSpecSetName.Builder toBuilder()
Returns
TypeDescription
AnnotationSpecSetName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides