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