Class EnvironmentName (4.3.1)

public class EnvironmentName implements ResourceName

Inheritance

Object > EnvironmentName

Implements

com.google.api.resourcenames.ResourceName

Constructors

EnvironmentName()

protected EnvironmentName()

Methods

equals(Object o)

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

format(String project, String environment)

public static String format(String project, String environment)
Parameters
NameDescription
projectString
environmentString
Returns
TypeDescription
String

formatProjectEnvironmentName(String project, String environment)

public static String formatProjectEnvironmentName(String project, String environment)
Parameters
NameDescription
projectString
environmentString
Returns
TypeDescription
String

formatProjectLocationEnvironmentName(String project, String location, String environment)

public static String formatProjectLocationEnvironmentName(String project, String location, String environment)
Parameters
NameDescription
projectString
locationString
environmentString
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>

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
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 EnvironmentName.Builder newBuilder()
Returns
TypeDescription
EnvironmentName.Builder

newProjectEnvironmentBuilder()

public static EnvironmentName.Builder newProjectEnvironmentBuilder()
Returns
TypeDescription
EnvironmentName.Builder

newProjectLocationEnvironmentBuilder()

public static EnvironmentName.ProjectLocationEnvironmentBuilder newProjectLocationEnvironmentBuilder()
Returns
TypeDescription
EnvironmentName.ProjectLocationEnvironmentBuilder

of(String project, String environment)

public static EnvironmentName of(String project, String environment)
Parameters
NameDescription
projectString
environmentString
Returns
TypeDescription
EnvironmentName

ofProjectEnvironmentName(String project, String environment)

public static EnvironmentName ofProjectEnvironmentName(String project, String environment)
Parameters
NameDescription
projectString
environmentString
Returns
TypeDescription
EnvironmentName

ofProjectLocationEnvironmentName(String project, String location, String environment)

public static EnvironmentName ofProjectLocationEnvironmentName(String project, String location, String environment)
Parameters
NameDescription
projectString
locationString
environmentString
Returns
TypeDescription
EnvironmentName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides

toStringList(List<EnvironmentName> values)

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