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