Class WorkspaceName (0.17.0)

public class WorkspaceName implements ResourceName

Inheritance

Object > WorkspaceName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String workspace)

public static String format(String workspace)
Parameter
NameDescription
workspaceString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String workspace)

public static WorkspaceName of(String workspace)
Parameter
NameDescription
workspaceString
Returns
TypeDescription
WorkspaceName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<WorkspaceName> values)

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

Constructors

WorkspaceName()

protected WorkspaceName()

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>

getWorkspace()

public String getWorkspace()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides