Class NodeTypeName (0.14.0)

public class NodeTypeName implements ResourceName

Inheritance

Object > NodeTypeName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String nodeType)

public static String format(String project, String location, String nodeType)
Parameters
NameDescription
projectString
locationString
nodeTypeString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String nodeType)

public static NodeTypeName of(String project, String location, String nodeType)
Parameters
NameDescription
projectString
locationString
nodeTypeString
Returns
TypeDescription
NodeTypeName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<NodeTypeName> values)

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

Constructors

NodeTypeName()

protected NodeTypeName()

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

getNodeType()

public String getNodeType()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides