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