@Generated(value="by GAPIC protoc plugin") public class EnvironmentContextName extends Object implements ResourceName
Modifier and Type | Class and Description |
---|---|
static class |
EnvironmentContextName.Builder
Builder for EnvironmentContextName.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static String |
format(String project,
String environment,
String user,
String session,
String context) |
String |
getContext() |
String |
getEnvironment() |
String |
getFieldValue(String fieldName) |
Map<String,String> |
getFieldValuesMap() |
String |
getProject() |
String |
getSession() |
String |
getUser() |
int |
hashCode() |
static boolean |
isParsableFrom(String formattedString) |
static EnvironmentContextName.Builder |
newBuilder() |
static EnvironmentContextName |
of(String project,
String environment,
String user,
String session,
String context) |
static EnvironmentContextName |
parse(String formattedString) |
static List<EnvironmentContextName> |
parseList(List<String> formattedStrings) |
EnvironmentContextName.Builder |
toBuilder() |
String |
toString() |
static List<String> |
toStringList(List<EnvironmentContextName> values) |
public String getProject()
public String getEnvironment()
public String getUser()
public String getSession()
public String getContext()
public static EnvironmentContextName.Builder newBuilder()
public EnvironmentContextName.Builder toBuilder()
public static EnvironmentContextName of(String project, String environment, String user, String session, String context)
public static String format(String project, String environment, String user, String session, String context)
public static EnvironmentContextName parse(String formattedString)
public static List<EnvironmentContextName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<EnvironmentContextName> values)
public static boolean isParsableFrom(String formattedString)
public Map<String,String> getFieldValuesMap()
getFieldValuesMap
in interface ResourceName
public String getFieldValue(String fieldName)
getFieldValue
in interface ResourceName
Copyright © 2022 Google LLC. All rights reserved.