Class ValuedResourceName (2.60.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
Name Description
organization String
simulation String
valuedResource String
Returns
Type Description
String

formatOrganizationLocationSimluationValuedResourceName(String organization, String location, String simluation, String valuedResource)

public static String formatOrganizationLocationSimluationValuedResourceName(String organization, String location, String simluation, String valuedResource)
Parameters
Name Description
organization String
location String
simluation String
valuedResource String
Returns
Type Description
String

formatOrganizationSimulationValuedResourceName(String organization, String simulation, String valuedResource)

public static String formatOrganizationSimulationValuedResourceName(String organization, String simulation, String valuedResource)
Parameters
Name Description
organization String
simulation String
valuedResource 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 ValuedResourceName.Builder newBuilder()
Returns
Type Description
ValuedResourceName.Builder

newOrganizationLocationSimluationValuedResourceBuilder()

public static ValuedResourceName.OrganizationLocationSimluationValuedResourceBuilder newOrganizationLocationSimluationValuedResourceBuilder()
Returns
Type Description
ValuedResourceName.OrganizationLocationSimluationValuedResourceBuilder

newOrganizationSimulationValuedResourceBuilder()

public static ValuedResourceName.Builder newOrganizationSimulationValuedResourceBuilder()
Returns
Type Description
ValuedResourceName.Builder

of(String organization, String simulation, String valuedResource)

public static ValuedResourceName of(String organization, String simulation, String valuedResource)
Parameters
Name Description
organization String
simulation String
valuedResource String
Returns
Type Description
ValuedResourceName

ofOrganizationLocationSimluationValuedResourceName(String organization, String location, String simluation, String valuedResource)

public static ValuedResourceName ofOrganizationLocationSimluationValuedResourceName(String organization, String location, String simluation, String valuedResource)
Parameters
Name Description
organization String
location String
simluation String
valuedResource String
Returns
Type Description
ValuedResourceName

ofOrganizationSimulationValuedResourceName(String organization, String simulation, String valuedResource)

public static ValuedResourceName ofOrganizationSimulationValuedResourceName(String organization, String simulation, String valuedResource)
Parameters
Name Description
organization String
simulation String
valuedResource String
Returns
Type Description
ValuedResourceName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<ValuedResourceName> values)

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

Constructors

ValuedResourceName() (deprecated)

protected ValuedResourceName()

Methods

equals(Object o)

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

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

getOrganization()

public String getOrganization()
Returns
Type Description
String

getSimluation()

public String getSimluation()
Returns
Type Description
String

getSimulation()

public String getSimulation()
Returns
Type Description
String

getValuedResource()

public String getValuedResource()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
Type Description
String
Overrides