public class EntityTypeName implements ResourceName
Inheritance
Object >
EntityTypeName
Implements
com.google.api.resourcenames.ResourceName
Static Methods
public static String format(String project, String entityType)
Parameters
Returns
public static String formatProjectEntityTypeName(String project, String entityType)
Parameters
Returns
public static String formatProjectLocationEntityTypeName(String project, String location, String entityType)
Parameters
Returns
isParsableFrom(String formattedString)
public static boolean isParsableFrom(String formattedString)
Parameter
Name | Description |
formattedString | String
|
Returns
newBuilder()
public static EntityTypeName.Builder newBuilder()
Returns
newProjectEntityTypeBuilder()
public static EntityTypeName.Builder newProjectEntityTypeBuilder()
Returns
newProjectLocationEntityTypeBuilder()
public static EntityTypeName.ProjectLocationEntityTypeBuilder newProjectLocationEntityTypeBuilder()
Returns
of(String project, String entityType)
public static EntityTypeName of(String project, String entityType)
Parameters
Returns
ofProjectEntityTypeName(String project, String entityType)
public static EntityTypeName ofProjectEntityTypeName(String project, String entityType)
Parameters
Returns
ofProjectLocationEntityTypeName(String project, String location, String entityType)
public static EntityTypeName ofProjectLocationEntityTypeName(String project, String location, String entityType)
Parameters
Returns
parse(String formattedString)
public static EntityTypeName parse(String formattedString)
Parameter
Name | Description |
formattedString | String
|
Returns
parseList(List<String> formattedStrings)
public static List<EntityTypeName> parseList(List<String> formattedStrings)
Parameter
Returns
toStringList(List<EntityTypeName> values)
public static List<String> toStringList(List<EntityTypeName> values)
Parameter
Returns
Constructors
EntityTypeName()
protected EntityTypeName()
Methods
equals(Object o)
public boolean equals(Object o)
Parameter
Returns
Overrides
getEntityType()
public String getEntityType()
Returns
getFieldValue(String fieldName)
public String getFieldValue(String fieldName)
Parameter
Name | Description |
fieldName | String
|
Returns
getFieldValuesMap()
public Map<String,String> getFieldValuesMap()
Returns
getLocation()
public String getLocation()
Returns
getProject()
public String getProject()
Returns
hashCode()
Returns
Overrides
toBuilder()
public EntityTypeName.Builder toBuilder()
Returns
toString()
Returns
Overrides