Class CryptoKeyName
- java.lang.Object
-
- com.google.spanner.admin.database.v1.CryptoKeyName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class CryptoKeyName extends Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCryptoKeyName.BuilderBuilder for projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}.
-
Constructor Summary
Constructors Modifier Constructor Description protectedCryptoKeyName()Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static Stringformat(String project, String location, String keyRing, String cryptoKey)StringgetCryptoKey()StringgetFieldValue(String fieldName)Map<String,String>getFieldValuesMap()StringgetKeyRing()StringgetLocation()StringgetProject()inthashCode()static booleanisParsableFrom(String formattedString)static CryptoKeyName.BuildernewBuilder()static CryptoKeyNameof(String project, String location, String keyRing, String cryptoKey)static CryptoKeyNameparse(String formattedString)static List<CryptoKeyName>parseList(List<String> formattedStrings)CryptoKeyName.BuildertoBuilder()StringtoString()static List<String>toStringList(List<CryptoKeyName> values)
-
-
-
Constructor Detail
-
CryptoKeyName
@Deprecated protected CryptoKeyName()
Deprecated.
-
-
Method Detail
-
getProject
public String getProject()
-
getLocation
public String getLocation()
-
getKeyRing
public String getKeyRing()
-
getCryptoKey
public String getCryptoKey()
-
newBuilder
public static CryptoKeyName.Builder newBuilder()
-
toBuilder
public CryptoKeyName.Builder toBuilder()
-
of
public static CryptoKeyName of(String project, String location, String keyRing, String cryptoKey)
-
format
public static String format(String project, String location, String keyRing, String cryptoKey)
-
parse
public static CryptoKeyName parse(String formattedString)
-
parseList
public static List<CryptoKeyName> parseList(List<String> formattedStrings)
-
toStringList
public static List<String> toStringList(List<CryptoKeyName> values)
-
isParsableFrom
public static boolean isParsableFrom(String formattedString)
-
getFieldValuesMap
public Map<String,String> getFieldValuesMap()
- Specified by:
getFieldValuesMapin interfacecom.google.api.resourcenames.ResourceName
-
getFieldValue
public String getFieldValue(String fieldName)
- Specified by:
getFieldValuein interfacecom.google.api.resourcenames.ResourceName
-
-