@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}/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 instance) |
String |
getFieldValue(String fieldName) |
Map<String,String> |
getFieldValuesMap() |
String |
getInstance() |
String |
getProject() |
int |
hashCode() |
static boolean |
isParsableFrom(String formattedString) |
static InstanceName.Builder |
newBuilder() |
static InstanceName |
of(String project,
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 getInstance()
public static InstanceName.Builder newBuilder()
public InstanceName.Builder toBuilder()
public static InstanceName of(String project, 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.ResourceName
public String getFieldValue(String fieldName)
getFieldValue
in interface com.google.api.resourcenames.ResourceName
Copyright © 2022 Google LLC. All rights reserved.