Class EntityName (0.2.2)

public class EntityName implements ResourceName

Inheritance

Object > EntityName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String lake, String zone, String entity)

public static String format(String project, String location, String lake, String zone, String entity)
Parameters
NameDescription
projectString
locationString
lakeString
zoneString
entityString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String lake, String zone, String entity)

public static EntityName of(String project, String location, String lake, String zone, String entity)
Parameters
NameDescription
projectString
locationString
lakeString
zoneString
entityString
Returns
TypeDescription
EntityName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<EntityName> values)

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

Constructors

EntityName()

protected EntityName()

Methods

equals(Object o)

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

getEntity()

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

getLake()

public String getLake()
Returns
TypeDescription
String

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getZone()

public String getZone()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides