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