Class EntityTypeName (0.13.0)

public class EntityTypeName implements ResourceName

Inheritance

Object > EntityTypeName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

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

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

isParsableFrom(String formattedString)

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

newBuilder()

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

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

public static EntityTypeName of(String project, String location, String agent, String entityType)
Parameters
NameDescription
projectString
locationString
agentString
entityTypeString
Returns
TypeDescription
EntityTypeName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<EntityTypeName> values)

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

Constructors

EntityTypeName()

protected EntityTypeName()

Methods

equals(Object o)

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

getAgent()

public String getAgent()
Returns
TypeDescription
String

getEntityType()

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

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides