@Generated(value="by GAPIC protoc plugin") public class ContextName extends Object implements com.google.api.resourcenames.ResourceName
| Modifier and Type | Class and Description |
|---|---|
static class |
ContextName.Builder
Builder for ContextName.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static String |
format(String project,
String session,
String context) |
String |
getContext() |
String |
getFieldValue(String fieldName) |
Map<String,String> |
getFieldValuesMap() |
String |
getProject() |
String |
getSession() |
int |
hashCode() |
static boolean |
isParsableFrom(String formattedString) |
static ContextName.Builder |
newBuilder() |
static ContextName |
of(String project,
String session,
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) |
public String getProject()
public String getSession()
public String getContext()
public static ContextName.Builder newBuilder()
public ContextName.Builder toBuilder()
public static ContextName of(String project, String session, 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 © 2019 Google LLC. All rights reserved.