Class PersistentResourceName (3.33.0)

public class PersistentResourceName implements ResourceName

Inheritance

Object > PersistentResourceName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String persistentResource)

public static String format(String project, String location, String persistentResource)
Parameters
NameDescription
projectString
locationString
persistentResourceString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String persistentResource)

public static PersistentResourceName of(String project, String location, String persistentResource)
Parameters
NameDescription
projectString
locationString
persistentResourceString
Returns
TypeDescription
PersistentResourceName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<PersistentResourceName> values)

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

Constructors

PersistentResourceName() (deprecated)

protected PersistentResourceName()

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

getPersistentResource()

public String getPersistentResource()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides