@Generated(value="by gapic-generator-java") public class PersistentResourceName extends Object implements com.google.api.resourcenames.ResourceName
| Modifier and Type | Class and Description |
|---|---|
static class |
PersistentResourceName.Builder
Builder for projects/{project}/locations/{location}/persistentResources/{persistent_resource}.
|
| Modifier | Constructor and Description |
|---|---|
protected |
PersistentResourceName()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static String |
format(String project,
String location,
String persistentResource) |
String |
getFieldValue(String fieldName) |
Map<String,String> |
getFieldValuesMap() |
String |
getLocation() |
String |
getPersistentResource() |
String |
getProject() |
int |
hashCode() |
static boolean |
isParsableFrom(String formattedString) |
static PersistentResourceName.Builder |
newBuilder() |
static PersistentResourceName |
of(String project,
String location,
String persistentResource) |
static PersistentResourceName |
parse(String formattedString) |
static List<PersistentResourceName> |
parseList(List<String> formattedStrings) |
PersistentResourceName.Builder |
toBuilder() |
String |
toString() |
static List<String> |
toStringList(List<PersistentResourceName> values) |
@Deprecated protected PersistentResourceName()
public String getProject()
public String getLocation()
public String getPersistentResource()
public static PersistentResourceName.Builder newBuilder()
public PersistentResourceName.Builder toBuilder()
public static PersistentResourceName of(String project, String location, String persistentResource)
public static PersistentResourceName parse(String formattedString)
public static List<PersistentResourceName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<PersistentResourceName> values)
public static boolean isParsableFrom(String formattedString)
public Map<String,String> getFieldValuesMap()
getFieldValuesMap in interface com.google.api.resourcenames.ResourceNamepublic String getFieldValue(String fieldName)
getFieldValue in interface com.google.api.resourcenames.ResourceNameCopyright © 2025 Google LLC. All rights reserved.