Class TrialName (3.7.0)

public class TrialName implements ResourceName

Inheritance

Object > TrialName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String study, String trial)

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

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String study, String trial)

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

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<TrialName> values)

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

Constructors

TrialName()

protected TrialName()

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

getTrial()

public String getTrial()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides