Class RuntimeName (1.3.0)

public class RuntimeName implements ResourceName

Inheritance

Object > RuntimeName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String runtime)

public static String format(String project, String location, String runtime)
Parameters
NameDescription
projectString
locationString
runtimeString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String runtime)

public static RuntimeName of(String project, String location, String runtime)
Parameters
NameDescription
projectString
locationString
runtimeString
Returns
TypeDescription
RuntimeName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<RuntimeName> values)

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

Constructors

RuntimeName()

protected RuntimeName()

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

getRuntime()

public String getRuntime()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides