Class LockName (0.3.0)

See more code actions.
public class LockName implements ResourceName
Object > LockName
com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String catalog, String database, String lock)

public static String format(String project, String location, String catalog, String database, String lock)
Parameters
NameDescription
projectString
locationString
catalogString
databaseString
lockString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String catalog, String database, String lock)

public static LockName of(String project, String location, String catalog, String database, String lock)
Parameters
NameDescription
projectString
locationString
catalogString
databaseString
lockString
Returns
TypeDescription
LockName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<LockName> values)

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

Constructors

LockName()

protected LockName()

Methods

equals(Object o)

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

getCatalog()

public String getCatalog()
Returns
TypeDescription
String

getDatabase()

public String getDatabase()
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

getLock()

public String getLock()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides