Class EnvironmentContextName (4.3.1)

public class EnvironmentContextName implements ResourceName

AUTO-GENERATED DOCUMENTATION AND CLASS

Inheritance

Object > EnvironmentContextName

Implements

com.google.api.resourcenames.ResourceName

Methods

equals(Object o)

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

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

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

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>

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides

toStringList(List<EnvironmentContextName> values)

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