Class ValuedResourceName (2.49.0)

public class ValuedResourceName implements ResourceName

Inheritance

Object > ValuedResourceName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String organization, String simulation, String valuedResource)

public static String format(String organization, String simulation, String valuedResource)
Parameters
NameDescription
organizationString
simulationString
valuedResourceString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String organization, String simulation, String valuedResource)

public static ValuedResourceName of(String organization, String simulation, String valuedResource)
Parameters
NameDescription
organizationString
simulationString
valuedResourceString
Returns
TypeDescription
ValuedResourceName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<ValuedResourceName> values)

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

Constructors

ValuedResourceName() (deprecated)

protected ValuedResourceName()

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>

getOrganization()

public String getOrganization()
Returns
TypeDescription
String

getSimulation()

public String getSimulation()
Returns
TypeDescription
String

getValuedResource()

public String getValuedResource()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides