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