Class AgentName (4.3.1)

public class AgentName implements ResourceName

Inheritance

Object > AgentName

Implements

com.google.api.resourcenames.ResourceName

Constructors

AgentName()

protected AgentName()

Methods

equals(Object o)

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

format(String project)

public static String format(String project)
Parameter
NameDescription
projectString
Returns
TypeDescription
String

formatProjectLocationName(String project, String location)

public static String formatProjectLocationName(String project, String location)
Parameters
NameDescription
projectString
locationString
Returns
TypeDescription
String

formatProjectName(String project)

public static String formatProjectName(String project)
Parameter
NameDescription
projectString
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 AgentName.Builder newBuilder()
Returns
TypeDescription
AgentName.Builder

newProjectBuilder()

public static AgentName.Builder newProjectBuilder()
Returns
TypeDescription
AgentName.Builder

newProjectLocationBuilder()

public static AgentName.ProjectLocationBuilder newProjectLocationBuilder()
Returns
TypeDescription
AgentName.ProjectLocationBuilder

of(String project)

public static AgentName of(String project)
Parameter
NameDescription
projectString
Returns
TypeDescription
AgentName

ofProjectLocationName(String project, String location)

public static AgentName ofProjectLocationName(String project, String location)
Parameters
NameDescription
projectString
locationString
Returns
TypeDescription
AgentName

ofProjectName(String project)

public static AgentName ofProjectName(String project)
Parameter
NameDescription
projectString
Returns
TypeDescription
AgentName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides

toStringList(List<AgentName> values)

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