Class StudyName (3.4.0)

public class StudyName implements ResourceName

Inheritance

Object > StudyName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String study)

public static String format(String project, String location, String study)
Parameters
NameDescription
projectString
locationString
studyString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String study)

public static StudyName of(String project, String location, String study)
Parameters
NameDescription
projectString
locationString
studyString
Returns
TypeDescription
StudyName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<StudyName> values)

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

Constructors

StudyName()

protected StudyName()

Methods

equals(Object o)

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

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>

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getStudy()

public String getStudy()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides