Class PersistentResourceName
- java.lang.Object
-
- com.google.cloud.aiplatform.v1beta1.PersistentResourceName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class PersistentResourceName extends Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPersistentResourceName.BuilderBuilder for projects/{project}/locations/{location}/persistentResources/{persistent_resource}.
-
Constructor Summary
Constructors Modifier Constructor Description protectedPersistentResourceName()Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static Stringformat(String project, String location, String persistentResource)StringgetFieldValue(String fieldName)Map<String,String>getFieldValuesMap()StringgetLocation()StringgetPersistentResource()StringgetProject()inthashCode()static booleanisParsableFrom(String formattedString)static PersistentResourceName.BuildernewBuilder()static PersistentResourceNameof(String project, String location, String persistentResource)static PersistentResourceNameparse(String formattedString)static List<PersistentResourceName>parseList(List<String> formattedStrings)PersistentResourceName.BuildertoBuilder()StringtoString()static List<String>toStringList(List<PersistentResourceName> values)
-
-
-
Constructor Detail
-
PersistentResourceName
@Deprecated protected PersistentResourceName()
Deprecated.
-
-
Method Detail
-
getProject
public String getProject()
-
getLocation
public String getLocation()
-
getPersistentResource
public String getPersistentResource()
-
newBuilder
public static PersistentResourceName.Builder newBuilder()
-
toBuilder
public PersistentResourceName.Builder toBuilder()
-
of
public static PersistentResourceName of(String project, String location, String persistentResource)
-
parse
public static PersistentResourceName parse(String formattedString)
-
parseList
public static List<PersistentResourceName> parseList(List<String> formattedStrings)
-
toStringList
public static List<String> toStringList(List<PersistentResourceName> values)
-
isParsableFrom
public static boolean isParsableFrom(String formattedString)
-
getFieldValuesMap
public Map<String,String> getFieldValuesMap()
- Specified by:
getFieldValuesMapin interfacecom.google.api.resourcenames.ResourceName
-
getFieldValue
public String getFieldValue(String fieldName)
- Specified by:
getFieldValuein interfacecom.google.api.resourcenames.ResourceName
-
-