@Generated(value="by gapic-generator-java") public class CryptoKeyName extends Object implements com.google.api.resourcenames.ResourceName
Modifier and Type | Class and Description |
---|---|
static class |
CryptoKeyName.Builder
Builder for
projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}.
|
Modifier | Constructor and Description |
---|---|
protected |
CryptoKeyName()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static String |
format(String project,
String location,
String keyRing,
String cryptoKey) |
String |
getCryptoKey() |
String |
getFieldValue(String fieldName) |
Map<String,String> |
getFieldValuesMap() |
String |
getKeyRing() |
String |
getLocation() |
String |
getProject() |
int |
hashCode() |
static boolean |
isParsableFrom(String formattedString) |
static CryptoKeyName.Builder |
newBuilder() |
static CryptoKeyName |
of(String project,
String location,
String keyRing,
String cryptoKey) |
static CryptoKeyName |
parse(String formattedString) |
static List<CryptoKeyName> |
parseList(List<String> formattedStrings) |
CryptoKeyName.Builder |
toBuilder() |
String |
toString() |
static List<String> |
toStringList(List<CryptoKeyName> values) |
@Deprecated protected CryptoKeyName()
public String getProject()
public String getLocation()
public String getKeyRing()
public String getCryptoKey()
public static CryptoKeyName.Builder newBuilder()
public CryptoKeyName.Builder toBuilder()
public static CryptoKeyName of(String project, String location, String keyRing, String cryptoKey)
public static String format(String project, String location, String keyRing, String cryptoKey)
public static CryptoKeyName parse(String formattedString)
public static List<CryptoKeyName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<CryptoKeyName> values)
public static boolean isParsableFrom(String formattedString)
public Map<String,String> getFieldValuesMap()
getFieldValuesMap
in interface com.google.api.resourcenames.ResourceName
public String getFieldValue(String fieldName)
getFieldValue
in interface com.google.api.resourcenames.ResourceName
Copyright © 2022 Google LLC. All rights reserved.