Package com.google.cloud.kms.v1
Class RawDecryptResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<RawDecryptResponse.Builder>
-
- com.google.cloud.kms.v1.RawDecryptResponse.Builder
-
- All Implemented Interfaces:
RawDecryptResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- RawDecryptResponse
public static final class RawDecryptResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RawDecryptResponse.Builder> implements RawDecryptResponseOrBuilder
Response message for [KeyManagementService.RawDecrypt][google.cloud.kms.v1.KeyManagementService.RawDecrypt].
Protobuf typegoogle.cloud.kms.v1.RawDecryptResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RawDecryptResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RawDecryptResponse
build()
RawDecryptResponse
buildPartial()
RawDecryptResponse.Builder
clear()
RawDecryptResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
RawDecryptResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
RawDecryptResponse.Builder
clearPlaintext()
The decrypted data.RawDecryptResponse.Builder
clearPlaintextCrc32C()
Integrity verification field.RawDecryptResponse.Builder
clearProtectionLevel()
The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in decryption.RawDecryptResponse.Builder
clearVerifiedAdditionalAuthenticatedDataCrc32C()
Integrity verification field.RawDecryptResponse.Builder
clearVerifiedCiphertextCrc32C()
Integrity verification field.RawDecryptResponse.Builder
clearVerifiedInitializationVectorCrc32C()
Integrity verification field.RawDecryptResponse.Builder
clone()
RawDecryptResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.protobuf.ByteString
getPlaintext()
The decrypted data.com.google.protobuf.Int64Value
getPlaintextCrc32C()
Integrity verification field.com.google.protobuf.Int64Value.Builder
getPlaintextCrc32CBuilder()
Integrity verification field.com.google.protobuf.Int64ValueOrBuilder
getPlaintextCrc32COrBuilder()
Integrity verification field.ProtectionLevel
getProtectionLevel()
The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in decryption.int
getProtectionLevelValue()
The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in decryption.boolean
getVerifiedAdditionalAuthenticatedDataCrc32C()
Integrity verification field.boolean
getVerifiedCiphertextCrc32C()
Integrity verification field.boolean
getVerifiedInitializationVectorCrc32C()
Integrity verification field.boolean
hasPlaintextCrc32C()
Integrity verification field.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
RawDecryptResponse.Builder
mergeFrom(RawDecryptResponse other)
RawDecryptResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
RawDecryptResponse.Builder
mergeFrom(com.google.protobuf.Message other)
RawDecryptResponse.Builder
mergePlaintextCrc32C(com.google.protobuf.Int64Value value)
Integrity verification field.RawDecryptResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
RawDecryptResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RawDecryptResponse.Builder
setPlaintext(com.google.protobuf.ByteString value)
The decrypted data.RawDecryptResponse.Builder
setPlaintextCrc32C(com.google.protobuf.Int64Value value)
Integrity verification field.RawDecryptResponse.Builder
setPlaintextCrc32C(com.google.protobuf.Int64Value.Builder builderForValue)
Integrity verification field.RawDecryptResponse.Builder
setProtectionLevel(ProtectionLevel value)
The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in decryption.RawDecryptResponse.Builder
setProtectionLevelValue(int value)
The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in decryption.RawDecryptResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
RawDecryptResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
RawDecryptResponse.Builder
setVerifiedAdditionalAuthenticatedDataCrc32C(boolean value)
Integrity verification field.RawDecryptResponse.Builder
setVerifiedCiphertextCrc32C(boolean value)
Integrity verification field.RawDecryptResponse.Builder
setVerifiedInitializationVectorCrc32C(boolean value)
Integrity verification field.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<RawDecryptResponse.Builder>
-
clear
public RawDecryptResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<RawDecryptResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<RawDecryptResponse.Builder>
-
getDefaultInstanceForType
public RawDecryptResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public RawDecryptResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RawDecryptResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RawDecryptResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<RawDecryptResponse.Builder>
-
setField
public RawDecryptResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RawDecryptResponse.Builder>
-
clearField
public RawDecryptResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RawDecryptResponse.Builder>
-
clearOneof
public RawDecryptResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<RawDecryptResponse.Builder>
-
setRepeatedField
public RawDecryptResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RawDecryptResponse.Builder>
-
addRepeatedField
public RawDecryptResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RawDecryptResponse.Builder>
-
mergeFrom
public RawDecryptResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RawDecryptResponse.Builder>
-
mergeFrom
public RawDecryptResponse.Builder mergeFrom(RawDecryptResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<RawDecryptResponse.Builder>
-
mergeFrom
public RawDecryptResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RawDecryptResponse.Builder>
- Throws:
IOException
-
getPlaintext
public com.google.protobuf.ByteString getPlaintext()
The decrypted data.
bytes plaintext = 1;
- Specified by:
getPlaintext
in interfaceRawDecryptResponseOrBuilder
- Returns:
- The plaintext.
-
setPlaintext
public RawDecryptResponse.Builder setPlaintext(com.google.protobuf.ByteString value)
The decrypted data.
bytes plaintext = 1;
- Parameters:
value
- The plaintext to set.- Returns:
- This builder for chaining.
-
clearPlaintext
public RawDecryptResponse.Builder clearPlaintext()
The decrypted data.
bytes plaintext = 1;
- Returns:
- This builder for chaining.
-
hasPlaintextCrc32C
public boolean hasPlaintextCrc32C()
Integrity verification field. A CRC32C checksum of the returned [RawDecryptResponse.plaintext][google.cloud.kms.v1.RawDecryptResponse.plaintext]. An integrity check of plaintext can be performed by computing the CRC32C checksum of plaintext 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: receiving this response message indicates that [KeyManagementService][google.cloud.kms.v1.KeyManagementService] is able to successfully decrypt the [ciphertext][google.cloud.kms.v1.RawDecryptRequest.ciphertext]. 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 plaintext_crc32c = 2;
- Specified by:
hasPlaintextCrc32C
in interfaceRawDecryptResponseOrBuilder
- Returns:
- Whether the plaintextCrc32c field is set.
-
getPlaintextCrc32C
public com.google.protobuf.Int64Value getPlaintextCrc32C()
Integrity verification field. A CRC32C checksum of the returned [RawDecryptResponse.plaintext][google.cloud.kms.v1.RawDecryptResponse.plaintext]. An integrity check of plaintext can be performed by computing the CRC32C checksum of plaintext 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: receiving this response message indicates that [KeyManagementService][google.cloud.kms.v1.KeyManagementService] is able to successfully decrypt the [ciphertext][google.cloud.kms.v1.RawDecryptRequest.ciphertext]. 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 plaintext_crc32c = 2;
- Specified by:
getPlaintextCrc32C
in interfaceRawDecryptResponseOrBuilder
- Returns:
- The plaintextCrc32c.
-
setPlaintextCrc32C
public RawDecryptResponse.Builder setPlaintextCrc32C(com.google.protobuf.Int64Value value)
Integrity verification field. A CRC32C checksum of the returned [RawDecryptResponse.plaintext][google.cloud.kms.v1.RawDecryptResponse.plaintext]. An integrity check of plaintext can be performed by computing the CRC32C checksum of plaintext 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: receiving this response message indicates that [KeyManagementService][google.cloud.kms.v1.KeyManagementService] is able to successfully decrypt the [ciphertext][google.cloud.kms.v1.RawDecryptRequest.ciphertext]. 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 plaintext_crc32c = 2;
-
setPlaintextCrc32C
public RawDecryptResponse.Builder setPlaintextCrc32C(com.google.protobuf.Int64Value.Builder builderForValue)
Integrity verification field. A CRC32C checksum of the returned [RawDecryptResponse.plaintext][google.cloud.kms.v1.RawDecryptResponse.plaintext]. An integrity check of plaintext can be performed by computing the CRC32C checksum of plaintext 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: receiving this response message indicates that [KeyManagementService][google.cloud.kms.v1.KeyManagementService] is able to successfully decrypt the [ciphertext][google.cloud.kms.v1.RawDecryptRequest.ciphertext]. 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 plaintext_crc32c = 2;
-
mergePlaintextCrc32C
public RawDecryptResponse.Builder mergePlaintextCrc32C(com.google.protobuf.Int64Value value)
Integrity verification field. A CRC32C checksum of the returned [RawDecryptResponse.plaintext][google.cloud.kms.v1.RawDecryptResponse.plaintext]. An integrity check of plaintext can be performed by computing the CRC32C checksum of plaintext 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: receiving this response message indicates that [KeyManagementService][google.cloud.kms.v1.KeyManagementService] is able to successfully decrypt the [ciphertext][google.cloud.kms.v1.RawDecryptRequest.ciphertext]. 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 plaintext_crc32c = 2;
-
clearPlaintextCrc32C
public RawDecryptResponse.Builder clearPlaintextCrc32C()
Integrity verification field. A CRC32C checksum of the returned [RawDecryptResponse.plaintext][google.cloud.kms.v1.RawDecryptResponse.plaintext]. An integrity check of plaintext can be performed by computing the CRC32C checksum of plaintext 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: receiving this response message indicates that [KeyManagementService][google.cloud.kms.v1.KeyManagementService] is able to successfully decrypt the [ciphertext][google.cloud.kms.v1.RawDecryptRequest.ciphertext]. 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 plaintext_crc32c = 2;
-
getPlaintextCrc32CBuilder
public com.google.protobuf.Int64Value.Builder getPlaintextCrc32CBuilder()
Integrity verification field. A CRC32C checksum of the returned [RawDecryptResponse.plaintext][google.cloud.kms.v1.RawDecryptResponse.plaintext]. An integrity check of plaintext can be performed by computing the CRC32C checksum of plaintext 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: receiving this response message indicates that [KeyManagementService][google.cloud.kms.v1.KeyManagementService] is able to successfully decrypt the [ciphertext][google.cloud.kms.v1.RawDecryptRequest.ciphertext]. 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 plaintext_crc32c = 2;
-
getPlaintextCrc32COrBuilder
public com.google.protobuf.Int64ValueOrBuilder getPlaintextCrc32COrBuilder()
Integrity verification field. A CRC32C checksum of the returned [RawDecryptResponse.plaintext][google.cloud.kms.v1.RawDecryptResponse.plaintext]. An integrity check of plaintext can be performed by computing the CRC32C checksum of plaintext 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: receiving this response message indicates that [KeyManagementService][google.cloud.kms.v1.KeyManagementService] is able to successfully decrypt the [ciphertext][google.cloud.kms.v1.RawDecryptRequest.ciphertext]. 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 plaintext_crc32c = 2;
- Specified by:
getPlaintextCrc32COrBuilder
in interfaceRawDecryptResponseOrBuilder
-
getProtectionLevelValue
public int getProtectionLevelValue()
The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in decryption.
.google.cloud.kms.v1.ProtectionLevel protection_level = 3;
- Specified by:
getProtectionLevelValue
in interfaceRawDecryptResponseOrBuilder
- Returns:
- The enum numeric value on the wire for protectionLevel.
-
setProtectionLevelValue
public RawDecryptResponse.Builder setProtectionLevelValue(int value)
The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in decryption.
.google.cloud.kms.v1.ProtectionLevel protection_level = 3;
- Parameters:
value
- The enum numeric value on the wire for protectionLevel to set.- Returns:
- This builder for chaining.
-
getProtectionLevel
public ProtectionLevel getProtectionLevel()
The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in decryption.
.google.cloud.kms.v1.ProtectionLevel protection_level = 3;
- Specified by:
getProtectionLevel
in interfaceRawDecryptResponseOrBuilder
- Returns:
- The protectionLevel.
-
setProtectionLevel
public RawDecryptResponse.Builder setProtectionLevel(ProtectionLevel value)
The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in decryption.
.google.cloud.kms.v1.ProtectionLevel protection_level = 3;
- Parameters:
value
- The protectionLevel to set.- Returns:
- This builder for chaining.
-
clearProtectionLevel
public RawDecryptResponse.Builder clearProtectionLevel()
The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in decryption.
.google.cloud.kms.v1.ProtectionLevel protection_level = 3;
- Returns:
- This builder for chaining.
-
getVerifiedCiphertextCrc32C
public boolean getVerifiedCiphertextCrc32C()
Integrity verification field. A flag indicating whether [RawDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.RawDecryptRequest.ciphertext_crc32c] was received by [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the ciphertext. A false value of this field indicates either that [RawDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.RawDecryptRequest.ciphertext_crc32c] was left unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've set [RawDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.RawDecryptRequest.ciphertext_crc32c] but this field is still false, discard the response and perform a limited number of retries.
bool verified_ciphertext_crc32c = 4;
- Specified by:
getVerifiedCiphertextCrc32C
in interfaceRawDecryptResponseOrBuilder
- Returns:
- The verifiedCiphertextCrc32c.
-
setVerifiedCiphertextCrc32C
public RawDecryptResponse.Builder setVerifiedCiphertextCrc32C(boolean value)
Integrity verification field. A flag indicating whether [RawDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.RawDecryptRequest.ciphertext_crc32c] was received by [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the ciphertext. A false value of this field indicates either that [RawDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.RawDecryptRequest.ciphertext_crc32c] was left unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've set [RawDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.RawDecryptRequest.ciphertext_crc32c] but this field is still false, discard the response and perform a limited number of retries.
bool verified_ciphertext_crc32c = 4;
- Parameters:
value
- The verifiedCiphertextCrc32c to set.- Returns:
- This builder for chaining.
-
clearVerifiedCiphertextCrc32C
public RawDecryptResponse.Builder clearVerifiedCiphertextCrc32C()
Integrity verification field. A flag indicating whether [RawDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.RawDecryptRequest.ciphertext_crc32c] was received by [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the ciphertext. A false value of this field indicates either that [RawDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.RawDecryptRequest.ciphertext_crc32c] was left unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've set [RawDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.RawDecryptRequest.ciphertext_crc32c] but this field is still false, discard the response and perform a limited number of retries.
bool verified_ciphertext_crc32c = 4;
- Returns:
- This builder for chaining.
-
getVerifiedAdditionalAuthenticatedDataCrc32C
public boolean getVerifiedAdditionalAuthenticatedDataCrc32C()
Integrity verification field. A flag indicating whether [RawDecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.RawDecryptRequest.additional_authenticated_data_crc32c] was received by [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of additional_authenticated_data. A false value of this field indicates either that // [RawDecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.RawDecryptRequest.additional_authenticated_data_crc32c] was left unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've set [RawDecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.RawDecryptRequest.additional_authenticated_data_crc32c] but this field is still false, discard the response and perform a limited number of retries.
bool verified_additional_authenticated_data_crc32c = 5;
- Specified by:
getVerifiedAdditionalAuthenticatedDataCrc32C
in interfaceRawDecryptResponseOrBuilder
- Returns:
- The verifiedAdditionalAuthenticatedDataCrc32c.
-
setVerifiedAdditionalAuthenticatedDataCrc32C
public RawDecryptResponse.Builder setVerifiedAdditionalAuthenticatedDataCrc32C(boolean value)
Integrity verification field. A flag indicating whether [RawDecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.RawDecryptRequest.additional_authenticated_data_crc32c] was received by [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of additional_authenticated_data. A false value of this field indicates either that // [RawDecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.RawDecryptRequest.additional_authenticated_data_crc32c] was left unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've set [RawDecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.RawDecryptRequest.additional_authenticated_data_crc32c] but this field is still false, discard the response and perform a limited number of retries.
bool verified_additional_authenticated_data_crc32c = 5;
- Parameters:
value
- The verifiedAdditionalAuthenticatedDataCrc32c to set.- Returns:
- This builder for chaining.
-
clearVerifiedAdditionalAuthenticatedDataCrc32C
public RawDecryptResponse.Builder clearVerifiedAdditionalAuthenticatedDataCrc32C()
Integrity verification field. A flag indicating whether [RawDecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.RawDecryptRequest.additional_authenticated_data_crc32c] was received by [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of additional_authenticated_data. A false value of this field indicates either that // [RawDecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.RawDecryptRequest.additional_authenticated_data_crc32c] was left unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've set [RawDecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.RawDecryptRequest.additional_authenticated_data_crc32c] but this field is still false, discard the response and perform a limited number of retries.
bool verified_additional_authenticated_data_crc32c = 5;
- Returns:
- This builder for chaining.
-
getVerifiedInitializationVectorCrc32C
public boolean getVerifiedInitializationVectorCrc32C()
Integrity verification field. A flag indicating whether [RawDecryptRequest.initialization_vector_crc32c][google.cloud.kms.v1.RawDecryptRequest.initialization_vector_crc32c] was received by [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of initialization_vector. A false value of this field indicates either that [RawDecryptRequest.initialization_vector_crc32c][google.cloud.kms.v1.RawDecryptRequest.initialization_vector_crc32c] was left unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've set [RawDecryptRequest.initialization_vector_crc32c][google.cloud.kms.v1.RawDecryptRequest.initialization_vector_crc32c] but this field is still false, discard the response and perform a limited number of retries.
bool verified_initialization_vector_crc32c = 6;
- Specified by:
getVerifiedInitializationVectorCrc32C
in interfaceRawDecryptResponseOrBuilder
- Returns:
- The verifiedInitializationVectorCrc32c.
-
setVerifiedInitializationVectorCrc32C
public RawDecryptResponse.Builder setVerifiedInitializationVectorCrc32C(boolean value)
Integrity verification field. A flag indicating whether [RawDecryptRequest.initialization_vector_crc32c][google.cloud.kms.v1.RawDecryptRequest.initialization_vector_crc32c] was received by [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of initialization_vector. A false value of this field indicates either that [RawDecryptRequest.initialization_vector_crc32c][google.cloud.kms.v1.RawDecryptRequest.initialization_vector_crc32c] was left unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've set [RawDecryptRequest.initialization_vector_crc32c][google.cloud.kms.v1.RawDecryptRequest.initialization_vector_crc32c] but this field is still false, discard the response and perform a limited number of retries.
bool verified_initialization_vector_crc32c = 6;
- Parameters:
value
- The verifiedInitializationVectorCrc32c to set.- Returns:
- This builder for chaining.
-
clearVerifiedInitializationVectorCrc32C
public RawDecryptResponse.Builder clearVerifiedInitializationVectorCrc32C()
Integrity verification field. A flag indicating whether [RawDecryptRequest.initialization_vector_crc32c][google.cloud.kms.v1.RawDecryptRequest.initialization_vector_crc32c] was received by [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of initialization_vector. A false value of this field indicates either that [RawDecryptRequest.initialization_vector_crc32c][google.cloud.kms.v1.RawDecryptRequest.initialization_vector_crc32c] was left unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've set [RawDecryptRequest.initialization_vector_crc32c][google.cloud.kms.v1.RawDecryptRequest.initialization_vector_crc32c] but this field is still false, discard the response and perform a limited number of retries.
bool verified_initialization_vector_crc32c = 6;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final RawDecryptResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RawDecryptResponse.Builder>
-
mergeUnknownFields
public final RawDecryptResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RawDecryptResponse.Builder>
-
-