Class GeneratorName (0.52.0)

public class GeneratorName implements ResourceName

Inheritance

Object > GeneratorName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String agent, String generator)

public static String format(String project, String location, String agent, String generator)
Parameters
NameDescription
projectString
locationString
agentString
generatorString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String agent, String generator)

public static GeneratorName of(String project, String location, String agent, String generator)
Parameters
NameDescription
projectString
locationString
agentString
generatorString
Returns
TypeDescription
GeneratorName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<GeneratorName> values)

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

Constructors

GeneratorName() (deprecated)

protected GeneratorName()

Methods

equals(Object o)

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

getAgent()

public String getAgent()
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>

getGenerator()

public String getGenerator()
Returns
TypeDescription
String

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides