Class ControlName (2.16.0)

public class ControlName implements ResourceName

Inheritance

Object > ControlName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String catalog, String control)

public static String format(String project, String location, String catalog, String control)
Parameters
NameDescription
projectString
locationString
catalogString
controlString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String catalog, String control)

public static ControlName of(String project, String location, String catalog, String control)
Parameters
NameDescription
projectString
locationString
catalogString
controlString
Returns
TypeDescription
ControlName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<ControlName> values)

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

Constructors

ControlName()

protected ControlName()

Methods

equals(Object o)

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

getCatalog()

public String getCatalog()
Returns
TypeDescription
String

getControl()

public String getControl()
Returns
TypeDescription
String

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

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides