Class CryptoKeyVersionName (2.98.0)

public class CryptoKeyVersionName implements ResourceName

Inheritance

java.lang.Object > CryptoKeyVersionName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String keyRing, String cryptoKey, String cryptoKeyVersion)

public static String format(String project, String location, String keyRing, String cryptoKey, String cryptoKeyVersion)
Parameters
Name Description
project String
location String
keyRing String
cryptoKey String
cryptoKeyVersion String
Returns
Type Description
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
boolean

newBuilder()

public static CryptoKeyVersionName.Builder newBuilder()
Returns
Type Description
CryptoKeyVersionName.Builder

of(String project, String location, String keyRing, String cryptoKey, String cryptoKeyVersion)

public static CryptoKeyVersionName of(String project, String location, String keyRing, String cryptoKey, String cryptoKeyVersion)
Parameters
Name Description
project String
location String
keyRing String
cryptoKey String
cryptoKeyVersion String
Returns
Type Description
CryptoKeyVersionName

parse(String formattedString)

public static @Nullable CryptoKeyVersionName parse(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
@org.jspecify.annotations.Nullable com.google.cloud.kms.v1.CryptoKeyVersionName

parseList(List<String> formattedStrings)

public static List<CryptoKeyVersionName> parseList(List<String> formattedStrings)
Parameter
Name Description
formattedStrings List<String>
Returns
Type Description
List<CryptoKeyVersionName>

toStringList(List<@Nullable CryptoKeyVersionName> values)

public static List<String> toStringList(List<@Nullable CryptoKeyVersionName> values)
Parameter
Name Description
values List<@org.jspecify.annotations.Nullable com.google.cloud.kms.v1.CryptoKeyVersionName>
Returns
Type Description
List<String>

Constructors

CryptoKeyVersionName() (deprecated)

protected CryptoKeyVersionName()

Methods

equals(@Nullable Object o)

public boolean equals(@Nullable Object o)
Parameter
Name Description
o @org.jspecify.annotations.Nullable java.lang.Object
Returns
Type Description
boolean
Overrides

getCryptoKey()

public String getCryptoKey()
Returns
Type Description
String

getCryptoKeyVersion()

public String getCryptoKeyVersion()
Returns
Type Description
String

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
Name Description
fieldName String
Returns
Type Description
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
Type Description
Map<String,String>

getKeyRing()

public String getKeyRing()
Returns
Type Description
String

getLocation()

public String getLocation()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

public CryptoKeyVersionName.Builder toBuilder()
Returns
Type Description
CryptoKeyVersionName.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides