Class EntityName (1.43.0)

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
Name Description
project String
location String
lake String
zone String
entity String
Returns
Type Description
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
boolean

newBuilder()

public static EntityName.Builder newBuilder()
Returns
Type Description
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
Name Description
project String
location String
lake String
zone String
entity String
Returns
Type Description
EntityName

parse(String formattedString)

public static EntityName parse(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
EntityName

parseList(List<String> formattedStrings)

public static List<EntityName> parseList(List<String> formattedStrings)
Parameter
Name Description
formattedStrings List<String>
Returns
Type Description
List<EntityName>

toStringList(List<EntityName> values)

public static List<String> toStringList(List<EntityName> values)
Parameter
Name Description
values List<EntityName>
Returns
Type Description
List<String>

Constructors

EntityName() (deprecated)

protected EntityName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getEntity()

public String getEntity()
Returns
Type Description
String

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
</
Parameter
Name Description
fieldName String