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