Class EntityTypeName (4.3.1)

public class EntityTypeName implements ResourceName

Inheritance

Object > EntityTypeName

Implements

com.google.api.resourcenames.ResourceName

Constructors

EntityTypeName()

protected EntityTypeName()

Methods

equals(Object o)

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

format(String project, String entityType)

public static String format(String project, String entityType)
Parameters
NameDescription
projectString
entityTypeString
Returns
TypeDescription
String

formatProjectEntityTypeName(String project, String entityType)

public static String formatProjectEntityTypeName(String project, String entityType)
Parameters
NameDescription
projectString
entityTypeString
Returns
TypeDescription
String

formatProjectLocationEntityTypeName(String project, String location, String entityType)

public static String formatProjectLocationEntityTypeName(String project, String location, String entityType)
Parameters
NameDescription
projectString
locationString
entityTypeString
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

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

newProjectEntityTypeBuilder()

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

newProjectLocationEntityTypeBuilder()

public static EntityTypeName.ProjectLocationEntityTypeBuilder newProjectLocationEntityTypeBuilder()
Returns
TypeDescription
EntityTypeName.ProjectLocationEntityTypeBuilder

of(String project, String entityType)

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

ofProjectEntityTypeName(String project, String entityType)

public static EntityTypeName ofProjectEntityTypeName(String project, String entityType)
Parameters
NameDescription
projectString
entityTypeString
Returns
TypeDescription
EntityTypeName

ofProjectLocationEntityTypeName(String project, String location, String entityType)

public static EntityTypeName ofProjectLocationEntityTypeName(String project, String location, String entityType)
Parameters
NameDescription
projectString
locationString
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>

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides

toStringList(List<EntityTypeName> values)

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