public static final class CertificateAuthority.KeyVersionSpec extends GeneratedMessageV3 implements CertificateAuthority.KeyVersionSpecOrBuilder
A Cloud KMS key configuration that a
CertificateAuthority
will use.
Protobuf type google.cloud.security.privateca.v1.CertificateAuthority.KeyVersionSpec
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
ALGORITHM_FIELD_NUMBER
public static final int ALGORITHM_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
CLOUD_KMS_KEY_VERSION_FIELD_NUMBER
public static final int CLOUD_KMS_KEY_VERSION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static CertificateAuthority.KeyVersionSpec getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static CertificateAuthority.KeyVersionSpec.Builder newBuilder()
newBuilder(CertificateAuthority.KeyVersionSpec prototype)
public static CertificateAuthority.KeyVersionSpec.Builder newBuilder(CertificateAuthority.KeyVersionSpec prototype)
public static CertificateAuthority.KeyVersionSpec parseDelimitedFrom(InputStream input)
public static CertificateAuthority.KeyVersionSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static CertificateAuthority.KeyVersionSpec parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CertificateAuthority.KeyVersionSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static CertificateAuthority.KeyVersionSpec parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CertificateAuthority.KeyVersionSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CertificateAuthority.KeyVersionSpec parseFrom(CodedInputStream input)
public static CertificateAuthority.KeyVersionSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CertificateAuthority.KeyVersionSpec parseFrom(InputStream input)
public static CertificateAuthority.KeyVersionSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static CertificateAuthority.KeyVersionSpec parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CertificateAuthority.KeyVersionSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<CertificateAuthority.KeyVersionSpec> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getAlgorithm()
public CertificateAuthority.SignHashAlgorithm getAlgorithm()
The algorithm to use for creating a managed Cloud KMS key for a for a
simplified experience. All managed keys will be have their
ProtectionLevel as HSM
.
.google.cloud.security.privateca.v1.CertificateAuthority.SignHashAlgorithm algorithm = 2;
getAlgorithmValue()
public int getAlgorithmValue()
The algorithm to use for creating a managed Cloud KMS key for a for a
simplified experience. All managed keys will be have their
ProtectionLevel as HSM
.
.google.cloud.security.privateca.v1.CertificateAuthority.SignHashAlgorithm algorithm = 2;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for algorithm.
|
getCloudKmsKeyVersion()
public String getCloudKmsKeyVersion()
The resource name for an existing Cloud KMS CryptoKeyVersion in the
format
projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*
.
This option enables full flexibility in the key's capabilities and
properties.
string cloud_kms_key_version = 1;
Returns |
---|
Type | Description |
String | The cloudKmsKeyVersion.
|
getCloudKmsKeyVersionBytes()
public ByteString getCloudKmsKeyVersionBytes()
The resource name for an existing Cloud KMS CryptoKeyVersion in the
format
projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*
.
This option enables full flexibility in the key's capabilities and
properties.
string cloud_kms_key_version = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for cloudKmsKeyVersion.
|
getDefaultInstanceForType()
public CertificateAuthority.KeyVersionSpec getDefaultInstanceForType()
getKeyVersionCase()
public CertificateAuthority.KeyVersionSpec.KeyVersionCase getKeyVersionCase()
getParserForType()
public Parser<CertificateAuthority.KeyVersionSpec> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hasAlgorithm()
public boolean hasAlgorithm()
The algorithm to use for creating a managed Cloud KMS key for a for a
simplified experience. All managed keys will be have their
ProtectionLevel as HSM
.
.google.cloud.security.privateca.v1.CertificateAuthority.SignHashAlgorithm algorithm = 2;
Returns |
---|
Type | Description |
boolean | Whether the algorithm field is set.
|
hasCloudKmsKeyVersion()
public boolean hasCloudKmsKeyVersion()
The resource name for an existing Cloud KMS CryptoKeyVersion in the
format
projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*
.
This option enables full flexibility in the key's capabilities and
properties.
string cloud_kms_key_version = 1;
Returns |
---|
Type | Description |
boolean | Whether the cloudKmsKeyVersion field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public CertificateAuthority.KeyVersionSpec.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CertificateAuthority.KeyVersionSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public CertificateAuthority.KeyVersionSpec.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides