Class PublicKnowledgeGraphEntityName (0.25.0)

public class PublicKnowledgeGraphEntityName implements ResourceName

Inheritance

Object > PublicKnowledgeGraphEntityName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String publicKnowledgeGraphEntity)

public static String format(String project, String location, String publicKnowledgeGraphEntity)
Parameters
NameDescription
projectString
locationString
publicKnowledgeGraphEntityString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String publicKnowledgeGraphEntity)

public static PublicKnowledgeGraphEntityName of(String project, String location, String publicKnowledgeGraphEntity)
Parameters
NameDescription
projectString
locationString
publicKnowledgeGraphEntityString
Returns
TypeDescription
PublicKnowledgeGraphEntityName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<PublicKnowledgeGraphEntityName> values)

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

Constructors

PublicKnowledgeGraphEntityName()

protected PublicKnowledgeGraphEntityName()

Methods

equals(Object o)

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

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

getPublicKnowledgeGraphEntity()

public String getPublicKnowledgeGraphEntity()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides