Class EnvironmentContextName (4.7.2)

public class EnvironmentContextName implements ResourceName

AUTO-GENERATED DOCUMENTATION AND CLASS

Inheritance

Object > EnvironmentContextName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String environment, String user, String session, String context)

public static String format(String project, String environment, String user, String session, String context)
Parameters
NameDescription
projectString
environmentString
userString
sessionString
contextString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
boolean

newBuilder()

public static EnvironmentContextName.Builder newBuilder()
Returns
TypeDescription
EnvironmentContextName.Builder

of(String project, String environment, String user, String session, String context)

public static EnvironmentContextName of(String project, String environment, String user, String session, String context)
Parameters
NameDescription
projectString
environmentString
userString
sessionString
contextString
Returns
TypeDescription
EnvironmentContextName

parse(String formattedString)

public static EnvironmentContextName parse(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
EnvironmentContextName

parseList(List<String> formattedStrings)

public static List<EnvironmentContextName> parseList(List<String> formattedStrings)
Parameter
NameDescription
formattedStringsList<String>
Returns
TypeDescription
List<EnvironmentContextName>

toStringList(List<EnvironmentContextName> values)

public static List<String> toStringList(List<EnvironmentContextName> values)
Parameter
NameDescription
valuesList<EnvironmentContextName>
Returns
TypeDescription
List<String>

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getContext()

public String getContext()
Returns
TypeDescription
String

getEnvironment()

public String getEnvironment()
Returns
TypeDescription
String

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
NameDescription
fieldNameString
Returns
TypeDescription
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
TypeDescription
Map<String,String>

getProject()

public String getProject()
Returns
TypeDescription
String

getSession()

public String getSession()
Returns
TypeDescription
String

getUser()

public String getUser()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

public EnvironmentContextName.Builder toBuilder()
Returns
TypeDescription
EnvironmentContextName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides