Class ExperimentName (0.14.2)

public class ExperimentName implements ResourceName

Inheritance

Object > ExperimentName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String agent, String environment, String experiment)

public static String format(String project, String location, String agent, String environment, String experiment)
Parameters
NameDescription
projectString
locationString
agentString
environmentString
experimentString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String agent, String environment, String experiment)

public static ExperimentName of(String project, String location, String agent, String environment, String experiment)
Parameters
NameDescription
projectString
locationString
agentString
environmentString
experimentString
Returns
TypeDescription
ExperimentName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<ExperimentName> values)

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

Constructors

ExperimentName()

protected ExperimentName()

Methods

equals(Object o)

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

getAgent()

public String getAgent()
Returns
TypeDescription
String

getEnvironment()

public String getEnvironment()
Returns
TypeDescription
String

getExperiment()

public String getExperiment()
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>

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides