public static final class AsymmetricSignResponse.Builder extends GeneratedMessageV3.Builder<AsymmetricSignResponse.Builder> implements AsymmetricSignResponseOrBuilder
Response message for [KeyManagementService.AsymmetricSign][google.cloud.kms.v1.KeyManagementService.AsymmetricSign].Protobuf type
google.cloud.kms.v1.AsymmetricSignResponse
Modifier and Type | Method and Description |
---|---|
AsymmetricSignResponse.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
AsymmetricSignResponse |
build() |
AsymmetricSignResponse |
buildPartial() |
AsymmetricSignResponse.Builder |
clear() |
AsymmetricSignResponse.Builder |
clearField(Descriptors.FieldDescriptor field) |
AsymmetricSignResponse.Builder |
clearName()
The resource name of the
[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
|
AsymmetricSignResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
AsymmetricSignResponse.Builder |
clearProtectionLevel()
The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
|
AsymmetricSignResponse.Builder |
clearSignature()
The created signature.
|
AsymmetricSignResponse.Builder |
clearSignatureCrc32C()
Integrity verification field.
|
AsymmetricSignResponse.Builder |
clearVerifiedDataCrc32C()
Integrity verification field.
|
AsymmetricSignResponse.Builder |
clearVerifiedDigestCrc32C()
Integrity verification field.
|
AsymmetricSignResponse.Builder |
clone() |
AsymmetricSignResponse |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
The resource name of the
[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
|
ByteString |
getNameBytes()
The resource name of the
[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
|
ProtectionLevel |
getProtectionLevel()
The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
|
int |
getProtectionLevelValue()
The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
|
ByteString |
getSignature()
The created signature.
|
Int64Value |
getSignatureCrc32C()
Integrity verification field.
|
Int64Value.Builder |
getSignatureCrc32CBuilder()
Integrity verification field.
|
Int64ValueOrBuilder |
getSignatureCrc32COrBuilder()
Integrity verification field.
|
boolean |
getVerifiedDataCrc32C()
Integrity verification field.
|
boolean |
getVerifiedDigestCrc32C()
Integrity verification field.
|
boolean |
hasSignatureCrc32C()
Integrity verification field.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AsymmetricSignResponse.Builder |
mergeFrom(AsymmetricSignResponse other) |
AsymmetricSignResponse.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
AsymmetricSignResponse.Builder |
mergeFrom(Message other) |
AsymmetricSignResponse.Builder |
mergeSignatureCrc32C(Int64Value value)
Integrity verification field.
|
AsymmetricSignResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
AsymmetricSignResponse.Builder |
setField(Descriptors.FieldDescriptor field,
Object value) |
AsymmetricSignResponse.Builder |
setName(String value)
The resource name of the
[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
|
AsymmetricSignResponse.Builder |
setNameBytes(ByteString value)
The resource name of the
[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
|
AsymmetricSignResponse.Builder |
setProtectionLevel(ProtectionLevel value)
The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
|
AsymmetricSignResponse.Builder |
setProtectionLevelValue(int value)
The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
|
AsymmetricSignResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
AsymmetricSignResponse.Builder |
setSignature(ByteString value)
The created signature.
|
AsymmetricSignResponse.Builder |
setSignatureCrc32C(Int64Value.Builder builderForValue)
Integrity verification field.
|
AsymmetricSignResponse.Builder |
setSignatureCrc32C(Int64Value value)
Integrity verification field.
|
AsymmetricSignResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
AsymmetricSignResponse.Builder |
setVerifiedDataCrc32C(boolean value)
Integrity verification field.
|
AsymmetricSignResponse.Builder |
setVerifiedDigestCrc32C(boolean value)
Integrity verification field.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<AsymmetricSignResponse.Builder>
public AsymmetricSignResponse.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<AsymmetricSignResponse.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<AsymmetricSignResponse.Builder>
public AsymmetricSignResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public AsymmetricSignResponse build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public AsymmetricSignResponse buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public AsymmetricSignResponse.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<AsymmetricSignResponse.Builder>
public AsymmetricSignResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<AsymmetricSignResponse.Builder>
public AsymmetricSignResponse.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<AsymmetricSignResponse.Builder>
public AsymmetricSignResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<AsymmetricSignResponse.Builder>
public AsymmetricSignResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<AsymmetricSignResponse.Builder>
public AsymmetricSignResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<AsymmetricSignResponse.Builder>
public AsymmetricSignResponse.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<AsymmetricSignResponse.Builder>
public AsymmetricSignResponse.Builder mergeFrom(AsymmetricSignResponse other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<AsymmetricSignResponse.Builder>
public AsymmetricSignResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<AsymmetricSignResponse.Builder>
IOException
public ByteString getSignature()
The created signature.
bytes signature = 1;
getSignature
in interface AsymmetricSignResponseOrBuilder
public AsymmetricSignResponse.Builder setSignature(ByteString value)
The created signature.
bytes signature = 1;
value
- The signature to set.public AsymmetricSignResponse.Builder clearSignature()
The created signature.
bytes signature = 1;
public boolean hasSignatureCrc32C()
Integrity verification field. A CRC32C checksum of the returned [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]. An integrity check of [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] can be performed by computing the CRC32C checksum of [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] and comparing your results to this field. Discard the response in case of non-matching checksum values, and perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type.
.google.protobuf.Int64Value signature_crc32c = 2;
hasSignatureCrc32C
in interface AsymmetricSignResponseOrBuilder
public Int64Value getSignatureCrc32C()
Integrity verification field. A CRC32C checksum of the returned [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]. An integrity check of [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] can be performed by computing the CRC32C checksum of [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] and comparing your results to this field. Discard the response in case of non-matching checksum values, and perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type.
.google.protobuf.Int64Value signature_crc32c = 2;
getSignatureCrc32C
in interface AsymmetricSignResponseOrBuilder
public AsymmetricSignResponse.Builder setSignatureCrc32C(Int64Value value)
Integrity verification field. A CRC32C checksum of the returned [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]. An integrity check of [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] can be performed by computing the CRC32C checksum of [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] and comparing your results to this field. Discard the response in case of non-matching checksum values, and perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type.
.google.protobuf.Int64Value signature_crc32c = 2;
public AsymmetricSignResponse.Builder setSignatureCrc32C(Int64Value.Builder builderForValue)
Integrity verification field. A CRC32C checksum of the returned [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]. An integrity check of [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] can be performed by computing the CRC32C checksum of [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] and comparing your results to this field. Discard the response in case of non-matching checksum values, and perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type.
.google.protobuf.Int64Value signature_crc32c = 2;
public AsymmetricSignResponse.Builder mergeSignatureCrc32C(Int64Value value)
Integrity verification field. A CRC32C checksum of the returned [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]. An integrity check of [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] can be performed by computing the CRC32C checksum of [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] and comparing your results to this field. Discard the response in case of non-matching checksum values, and perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type.
.google.protobuf.Int64Value signature_crc32c = 2;
public AsymmetricSignResponse.Builder clearSignatureCrc32C()
Integrity verification field. A CRC32C checksum of the returned [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]. An integrity check of [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] can be performed by computing the CRC32C checksum of [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] and comparing your results to this field. Discard the response in case of non-matching checksum values, and perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type.
.google.protobuf.Int64Value signature_crc32c = 2;
public Int64Value.Builder getSignatureCrc32CBuilder()
Integrity verification field. A CRC32C checksum of the returned [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]. An integrity check of [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] can be performed by computing the CRC32C checksum of [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] and comparing your results to this field. Discard the response in case of non-matching checksum values, and perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type.
.google.protobuf.Int64Value signature_crc32c = 2;
public Int64ValueOrBuilder getSignatureCrc32COrBuilder()
Integrity verification field. A CRC32C checksum of the returned [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]. An integrity check of [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] can be performed by computing the CRC32C checksum of [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] and comparing your results to this field. Discard the response in case of non-matching checksum values, and perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type.
.google.protobuf.Int64Value signature_crc32c = 2;
getSignatureCrc32COrBuilder
in interface AsymmetricSignResponseOrBuilder
public boolean getVerifiedDigestCrc32C()
Integrity verification field. A flag indicating whether [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c] was received by [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the [digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]. A false value of this field indicates either that [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c] was left unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've set [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c] but this field is still false, discard the response and perform a limited number of retries.
bool verified_digest_crc32c = 3;
getVerifiedDigestCrc32C
in interface AsymmetricSignResponseOrBuilder
public AsymmetricSignResponse.Builder setVerifiedDigestCrc32C(boolean value)
Integrity verification field. A flag indicating whether [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c] was received by [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the [digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]. A false value of this field indicates either that [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c] was left unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've set [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c] but this field is still false, discard the response and perform a limited number of retries.
bool verified_digest_crc32c = 3;
value
- The verifiedDigestCrc32c to set.public AsymmetricSignResponse.Builder clearVerifiedDigestCrc32C()
Integrity verification field. A flag indicating whether [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c] was received by [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the [digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]. A false value of this field indicates either that [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c] was left unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've set [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c] but this field is still false, discard the response and perform a limited number of retries.
bool verified_digest_crc32c = 3;
public String getName()
The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing. Check this field to verify that the intended resource was used for signing.
string name = 4;
getName
in interface AsymmetricSignResponseOrBuilder
public ByteString getNameBytes()
The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing. Check this field to verify that the intended resource was used for signing.
string name = 4;
getNameBytes
in interface AsymmetricSignResponseOrBuilder
public AsymmetricSignResponse.Builder setName(String value)
The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing. Check this field to verify that the intended resource was used for signing.
string name = 4;
value
- The name to set.public AsymmetricSignResponse.Builder clearName()
The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing. Check this field to verify that the intended resource was used for signing.
string name = 4;
public AsymmetricSignResponse.Builder setNameBytes(ByteString value)
The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing. Check this field to verify that the intended resource was used for signing.
string name = 4;
value
- The bytes for name to set.public boolean getVerifiedDataCrc32C()
Integrity verification field. A flag indicating whether [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c] was received by [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the [data][google.cloud.kms.v1.AsymmetricSignRequest.data]. A false value of this field indicates either that [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c] was left unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've set [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c] but this field is still false, discard the response and perform a limited number of retries.
bool verified_data_crc32c = 5;
getVerifiedDataCrc32C
in interface AsymmetricSignResponseOrBuilder
public AsymmetricSignResponse.Builder setVerifiedDataCrc32C(boolean value)
Integrity verification field. A flag indicating whether [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c] was received by [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the [data][google.cloud.kms.v1.AsymmetricSignRequest.data]. A false value of this field indicates either that [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c] was left unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've set [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c] but this field is still false, discard the response and perform a limited number of retries.
bool verified_data_crc32c = 5;
value
- The verifiedDataCrc32c to set.public AsymmetricSignResponse.Builder clearVerifiedDataCrc32C()
Integrity verification field. A flag indicating whether [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c] was received by [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the [data][google.cloud.kms.v1.AsymmetricSignRequest.data]. A false value of this field indicates either that [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c] was left unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've set [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c] but this field is still false, discard the response and perform a limited number of retries.
bool verified_data_crc32c = 5;
public int getProtectionLevelValue()
The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
.google.cloud.kms.v1.ProtectionLevel protection_level = 6;
getProtectionLevelValue
in interface AsymmetricSignResponseOrBuilder
public AsymmetricSignResponse.Builder setProtectionLevelValue(int value)
The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
.google.cloud.kms.v1.ProtectionLevel protection_level = 6;
value
- The enum numeric value on the wire for protectionLevel to set.public ProtectionLevel getProtectionLevel()
The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
.google.cloud.kms.v1.ProtectionLevel protection_level = 6;
getProtectionLevel
in interface AsymmetricSignResponseOrBuilder
public AsymmetricSignResponse.Builder setProtectionLevel(ProtectionLevel value)
The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
.google.cloud.kms.v1.ProtectionLevel protection_level = 6;
value
- The protectionLevel to set.public AsymmetricSignResponse.Builder clearProtectionLevel()
The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing.
.google.cloud.kms.v1.ProtectionLevel protection_level = 6;
public final AsymmetricSignResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<AsymmetricSignResponse.Builder>
public final AsymmetricSignResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<AsymmetricSignResponse.Builder>
Copyright © 2022 Google LLC. All rights reserved.