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