Class NamespaceName (2.18.0)

public class NamespaceName implements ResourceName

Inheritance

Object > NamespaceName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String namespace)

public static String format(String project, String location, String namespace)
Parameters
NameDescription
projectString
locationString
namespaceString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String namespace)

public static NamespaceName of(String project, String location, String namespace)
Parameters
NameDescription
projectString
locationString
namespaceString
Returns
TypeDescription
NamespaceName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<NamespaceName> values)

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

Constructors

NamespaceName()

protected NamespaceName()

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

getNamespace()

public String getNamespace()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides