Class TestCaseResultName (0.62.0)

See more code actions.
public class TestCaseResultName implements ResourceName
Object > TestCaseResultName
com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String agent, String testCase, String result)

public static String format(String project, String location, String agent, String testCase, String result)
Parameters
Name Description
project String
location String
agent String
testCase String
result String
Returns
Type Description
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
boolean

newBuilder()

public static TestCaseResultName.Builder newBuilder()
Returns
Type Description
TestCaseResultName.Builder

of(String project, String location, String agent, String testCase, String result)

public static TestCaseResultName of(String project, String location, String agent, String testCase, String result)
Parameters
Name Description
project String
location String
agent String
testCase String
result String
Returns
Type Description
TestCaseResultName

parse(String formattedString)

public static TestCaseResultName parse(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
TestCaseResultName

parseList(List<String> formattedStrings)

public static List<TestCaseResultName> parseList(List<String> formattedStrings)
Parameter
Name Description
formattedStrings List<String>
Returns
Type Description
List<TestCaseResultName>

toStringList(List<TestCaseResultName> values)

public static List<String> toStringList(List<TestCaseResultName> values)
Parameter
Name Description
values List<TestCaseResultName>
Returns
Type Description
List<String>

Constructors

TestCaseResultName() (deprecated)

protected TestCaseResultName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getAgent()

public String getAgent()
Returns
Type Description
String

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
Name Description
fieldName String
Returns
Type Description
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
Type Description
Map<String,String>

getLocation()

public String getLocation()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

getResult()

public String getResult()
Returns
Type Description
String

getTestCase()

public String getTestCase()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

public TestCaseResultName.Builder toBuilder()
Returns
Type Description
TestCaseResultName.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides