Class RawDecryptRequest.Builder

  • All Implemented Interfaces:
    RawDecryptRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    RawDecryptRequest

    public static final class RawDecryptRequest.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<RawDecryptRequest.Builder>
    implements RawDecryptRequestOrBuilder
     Request message for
     [KeyManagementService.RawDecrypt][google.cloud.kms.v1.KeyManagementService.RawDecrypt].
     
    Protobuf type google.cloud.kms.v1.RawDecryptRequest
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RawDecryptRequest.Builder>
      • clear

        public RawDecryptRequest.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<RawDecryptRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RawDecryptRequest.Builder>
      • getDefaultInstanceForType

        public RawDecryptRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public RawDecryptRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public RawDecryptRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public RawDecryptRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<RawDecryptRequest.Builder>
      • setField

        public RawDecryptRequest.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                  Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<RawDecryptRequest.Builder>
      • clearField

        public RawDecryptRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<RawDecryptRequest.Builder>
      • clearOneof

        public RawDecryptRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RawDecryptRequest.Builder>
      • setRepeatedField

        public RawDecryptRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                          int index,
                                                          Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RawDecryptRequest.Builder>
      • addRepeatedField

        public RawDecryptRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                          Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RawDecryptRequest.Builder>
      • mergeFrom

        public RawDecryptRequest.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RawDecryptRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RawDecryptRequest.Builder>
      • mergeFrom

        public RawDecryptRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RawDecryptRequest.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         Required. The resource name of the
         [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
         decryption.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getName in interface RawDecryptRequestOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Required. The resource name of the
         [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
         decryption.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getNameBytes in interface RawDecryptRequestOrBuilder
        Returns:
        The bytes for name.
      • setName

        public RawDecryptRequest.Builder setName​(String value)
         Required. The resource name of the
         [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
         decryption.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public RawDecryptRequest.Builder clearName()
         Required. The resource name of the
         [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
         decryption.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setNameBytes

        public RawDecryptRequest.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Required. The resource name of the
         [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
         decryption.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getCiphertext

        public com.google.protobuf.ByteString getCiphertext()
         Required. The encrypted data originally returned in
         [RawEncryptResponse.ciphertext][google.cloud.kms.v1.RawEncryptResponse.ciphertext].
         
        bytes ciphertext = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getCiphertext in interface RawDecryptRequestOrBuilder
        Returns:
        The ciphertext.
      • setCiphertext

        public RawDecryptRequest.Builder setCiphertext​(com.google.protobuf.ByteString value)
         Required. The encrypted data originally returned in
         [RawEncryptResponse.ciphertext][google.cloud.kms.v1.RawEncryptResponse.ciphertext].
         
        bytes ciphertext = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The ciphertext to set.
        Returns:
        This builder for chaining.
      • clearCiphertext

        public RawDecryptRequest.Builder clearCiphertext()
         Required. The encrypted data originally returned in
         [RawEncryptResponse.ciphertext][google.cloud.kms.v1.RawEncryptResponse.ciphertext].
         
        bytes ciphertext = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • getAdditionalAuthenticatedData

        public com.google.protobuf.ByteString getAdditionalAuthenticatedData()
         Optional. Optional data that must match the data originally supplied in
         [RawEncryptRequest.additional_authenticated_data][google.cloud.kms.v1.RawEncryptRequest.additional_authenticated_data].
         
        bytes additional_authenticated_data = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getAdditionalAuthenticatedData in interface RawDecryptRequestOrBuilder
        Returns:
        The additionalAuthenticatedData.
      • setAdditionalAuthenticatedData

        public RawDecryptRequest.Builder setAdditionalAuthenticatedData​(com.google.protobuf.ByteString value)
         Optional. Optional data that must match the data originally supplied in
         [RawEncryptRequest.additional_authenticated_data][google.cloud.kms.v1.RawEncryptRequest.additional_authenticated_data].
         
        bytes additional_authenticated_data = 3 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The additionalAuthenticatedData to set.
        Returns:
        This builder for chaining.
      • clearAdditionalAuthenticatedData

        public RawDecryptRequest.Builder clearAdditionalAuthenticatedData()
         Optional. Optional data that must match the data originally supplied in
         [RawEncryptRequest.additional_authenticated_data][google.cloud.kms.v1.RawEncryptRequest.additional_authenticated_data].
         
        bytes additional_authenticated_data = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • getInitializationVector

        public com.google.protobuf.ByteString getInitializationVector()
         Required. The initialization vector (IV) used during encryption, which must
         match the data originally provided in
         [RawEncryptResponse.initialization_vector][google.cloud.kms.v1.RawEncryptResponse.initialization_vector].
         
        bytes initialization_vector = 4 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getInitializationVector in interface RawDecryptRequestOrBuilder
        Returns:
        The initializationVector.
      • setInitializationVector

        public RawDecryptRequest.Builder setInitializationVector​(com.google.protobuf.ByteString value)
         Required. The initialization vector (IV) used during encryption, which must
         match the data originally provided in
         [RawEncryptResponse.initialization_vector][google.cloud.kms.v1.RawEncryptResponse.initialization_vector].
         
        bytes initialization_vector = 4 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The initializationVector to set.
        Returns:
        This builder for chaining.
      • clearInitializationVector

        public RawDecryptRequest.Builder clearInitializationVector()
         Required. The initialization vector (IV) used during encryption, which must
         match the data originally provided in
         [RawEncryptResponse.initialization_vector][google.cloud.kms.v1.RawEncryptResponse.initialization_vector].
         
        bytes initialization_vector = 4 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • getTagLength

        public int getTagLength()
         The length of the authentication tag that is appended to the end of
         the ciphertext. If unspecified (0), the default value for the key's
         algorithm will be used (for AES-GCM, the default value is 16).
         
        int32 tag_length = 5;
        Specified by:
        getTagLength in interface RawDecryptRequestOrBuilder
        Returns:
        The tagLength.
      • setTagLength

        public RawDecryptRequest.Builder setTagLength​(int value)
         The length of the authentication tag that is appended to the end of
         the ciphertext. If unspecified (0), the default value for the key's
         algorithm will be used (for AES-GCM, the default value is 16).
         
        int32 tag_length = 5;
        Parameters:
        value - The tagLength to set.
        Returns:
        This builder for chaining.
      • clearTagLength

        public RawDecryptRequest.Builder clearTagLength()
         The length of the authentication tag that is appended to the end of
         the ciphertext. If unspecified (0), the default value for the key's
         algorithm will be used (for AES-GCM, the default value is 16).
         
        int32 tag_length = 5;
        Returns:
        This builder for chaining.
      • hasCiphertextCrc32C

        public boolean hasCiphertextCrc32C()
         Optional. An optional CRC32C checksum of the
         [RawDecryptRequest.ciphertext][google.cloud.kms.v1.RawDecryptRequest.ciphertext].
         If specified,
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         verify the integrity of the received ciphertext using this checksum.
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         report an error if the checksum verification fails. If you receive a
         checksum error, your client should verify that CRC32C(ciphertext) is equal
         to ciphertext_crc32c, and if so, 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 ciphertext_crc32c = 6 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasCiphertextCrc32C in interface RawDecryptRequestOrBuilder
        Returns:
        Whether the ciphertextCrc32c field is set.
      • getCiphertextCrc32C

        public com.google.protobuf.Int64Value getCiphertextCrc32C()
         Optional. An optional CRC32C checksum of the
         [RawDecryptRequest.ciphertext][google.cloud.kms.v1.RawDecryptRequest.ciphertext].
         If specified,
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         verify the integrity of the received ciphertext using this checksum.
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         report an error if the checksum verification fails. If you receive a
         checksum error, your client should verify that CRC32C(ciphertext) is equal
         to ciphertext_crc32c, and if so, 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 ciphertext_crc32c = 6 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getCiphertextCrc32C in interface RawDecryptRequestOrBuilder
        Returns:
        The ciphertextCrc32c.
      • setCiphertextCrc32C

        public RawDecryptRequest.Builder setCiphertextCrc32C​(com.google.protobuf.Int64Value value)
         Optional. An optional CRC32C checksum of the
         [RawDecryptRequest.ciphertext][google.cloud.kms.v1.RawDecryptRequest.ciphertext].
         If specified,
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         verify the integrity of the received ciphertext using this checksum.
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         report an error if the checksum verification fails. If you receive a
         checksum error, your client should verify that CRC32C(ciphertext) is equal
         to ciphertext_crc32c, and if so, 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 ciphertext_crc32c = 6 [(.google.api.field_behavior) = OPTIONAL];
      • setCiphertextCrc32C

        public RawDecryptRequest.Builder setCiphertextCrc32C​(com.google.protobuf.Int64Value.Builder builderForValue)
         Optional. An optional CRC32C checksum of the
         [RawDecryptRequest.ciphertext][google.cloud.kms.v1.RawDecryptRequest.ciphertext].
         If specified,
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         verify the integrity of the received ciphertext using this checksum.
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         report an error if the checksum verification fails. If you receive a
         checksum error, your client should verify that CRC32C(ciphertext) is equal
         to ciphertext_crc32c, and if so, 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 ciphertext_crc32c = 6 [(.google.api.field_behavior) = OPTIONAL];
      • mergeCiphertextCrc32C

        public RawDecryptRequest.Builder mergeCiphertextCrc32C​(com.google.protobuf.Int64Value value)
         Optional. An optional CRC32C checksum of the
         [RawDecryptRequest.ciphertext][google.cloud.kms.v1.RawDecryptRequest.ciphertext].
         If specified,
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         verify the integrity of the received ciphertext using this checksum.
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         report an error if the checksum verification fails. If you receive a
         checksum error, your client should verify that CRC32C(ciphertext) is equal
         to ciphertext_crc32c, and if so, 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 ciphertext_crc32c = 6 [(.google.api.field_behavior) = OPTIONAL];
      • clearCiphertextCrc32C

        public RawDecryptRequest.Builder clearCiphertextCrc32C()
         Optional. An optional CRC32C checksum of the
         [RawDecryptRequest.ciphertext][google.cloud.kms.v1.RawDecryptRequest.ciphertext].
         If specified,
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         verify the integrity of the received ciphertext using this checksum.
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         report an error if the checksum verification fails. If you receive a
         checksum error, your client should verify that CRC32C(ciphertext) is equal
         to ciphertext_crc32c, and if so, 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 ciphertext_crc32c = 6 [(.google.api.field_behavior) = OPTIONAL];
      • getCiphertextCrc32CBuilder

        public com.google.protobuf.Int64Value.Builder getCiphertextCrc32CBuilder()
         Optional. An optional CRC32C checksum of the
         [RawDecryptRequest.ciphertext][google.cloud.kms.v1.RawDecryptRequest.ciphertext].
         If specified,
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         verify the integrity of the received ciphertext using this checksum.
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         report an error if the checksum verification fails. If you receive a
         checksum error, your client should verify that CRC32C(ciphertext) is equal
         to ciphertext_crc32c, and if so, 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 ciphertext_crc32c = 6 [(.google.api.field_behavior) = OPTIONAL];
      • getCiphertextCrc32COrBuilder

        public com.google.protobuf.Int64ValueOrBuilder getCiphertextCrc32COrBuilder()
         Optional. An optional CRC32C checksum of the
         [RawDecryptRequest.ciphertext][google.cloud.kms.v1.RawDecryptRequest.ciphertext].
         If specified,
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         verify the integrity of the received ciphertext using this checksum.
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         report an error if the checksum verification fails. If you receive a
         checksum error, your client should verify that CRC32C(ciphertext) is equal
         to ciphertext_crc32c, and if so, 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 ciphertext_crc32c = 6 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getCiphertextCrc32COrBuilder in interface RawDecryptRequestOrBuilder
      • hasAdditionalAuthenticatedDataCrc32C

        public boolean hasAdditionalAuthenticatedDataCrc32C()
         Optional. An optional CRC32C checksum of the
         [RawDecryptRequest.additional_authenticated_data][google.cloud.kms.v1.RawDecryptRequest.additional_authenticated_data].
         If specified,
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         verify the integrity of the received additional_authenticated_data using
         this checksum.
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         report an error if the checksum verification fails. If you receive a
         checksum error, your client should verify that
         CRC32C(additional_authenticated_data) is equal to
         additional_authenticated_data_crc32c, and if so, 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 additional_authenticated_data_crc32c = 7 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasAdditionalAuthenticatedDataCrc32C in interface RawDecryptRequestOrBuilder
        Returns:
        Whether the additionalAuthenticatedDataCrc32c field is set.
      • getAdditionalAuthenticatedDataCrc32C

        public com.google.protobuf.Int64Value getAdditionalAuthenticatedDataCrc32C()
         Optional. An optional CRC32C checksum of the
         [RawDecryptRequest.additional_authenticated_data][google.cloud.kms.v1.RawDecryptRequest.additional_authenticated_data].
         If specified,
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         verify the integrity of the received additional_authenticated_data using
         this checksum.
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         report an error if the checksum verification fails. If you receive a
         checksum error, your client should verify that
         CRC32C(additional_authenticated_data) is equal to
         additional_authenticated_data_crc32c, and if so, 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 additional_authenticated_data_crc32c = 7 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getAdditionalAuthenticatedDataCrc32C in interface RawDecryptRequestOrBuilder
        Returns:
        The additionalAuthenticatedDataCrc32c.
      • setAdditionalAuthenticatedDataCrc32C

        public RawDecryptRequest.Builder setAdditionalAuthenticatedDataCrc32C​(com.google.protobuf.Int64Value value)
         Optional. An optional CRC32C checksum of the
         [RawDecryptRequest.additional_authenticated_data][google.cloud.kms.v1.RawDecryptRequest.additional_authenticated_data].
         If specified,
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         verify the integrity of the received additional_authenticated_data using
         this checksum.
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         report an error if the checksum verification fails. If you receive a
         checksum error, your client should verify that
         CRC32C(additional_authenticated_data) is equal to
         additional_authenticated_data_crc32c, and if so, 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 additional_authenticated_data_crc32c = 7 [(.google.api.field_behavior) = OPTIONAL];
      • setAdditionalAuthenticatedDataCrc32C

        public RawDecryptRequest.Builder setAdditionalAuthenticatedDataCrc32C​(com.google.protobuf.Int64Value.Builder builderForValue)
         Optional. An optional CRC32C checksum of the
         [RawDecryptRequest.additional_authenticated_data][google.cloud.kms.v1.RawDecryptRequest.additional_authenticated_data].
         If specified,
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         verify the integrity of the received additional_authenticated_data using
         this checksum.
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         report an error if the checksum verification fails. If you receive a
         checksum error, your client should verify that
         CRC32C(additional_authenticated_data) is equal to
         additional_authenticated_data_crc32c, and if so, 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 additional_authenticated_data_crc32c = 7 [(.google.api.field_behavior) = OPTIONAL];
      • mergeAdditionalAuthenticatedDataCrc32C

        public RawDecryptRequest.Builder mergeAdditionalAuthenticatedDataCrc32C​(com.google.protobuf.Int64Value value)
         Optional. An optional CRC32C checksum of the
         [RawDecryptRequest.additional_authenticated_data][google.cloud.kms.v1.RawDecryptRequest.additional_authenticated_data].
         If specified,
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         verify the integrity of the received additional_authenticated_data using
         this checksum.
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         report an error if the checksum verification fails. If you receive a
         checksum error, your client should verify that
         CRC32C(additional_authenticated_data) is equal to
         additional_authenticated_data_crc32c, and if so, 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 additional_authenticated_data_crc32c = 7 [(.google.api.field_behavior) = OPTIONAL];
      • clearAdditionalAuthenticatedDataCrc32C

        public RawDecryptRequest.Builder clearAdditionalAuthenticatedDataCrc32C()
         Optional. An optional CRC32C checksum of the
         [RawDecryptRequest.additional_authenticated_data][google.cloud.kms.v1.RawDecryptRequest.additional_authenticated_data].
         If specified,
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         verify the integrity of the received additional_authenticated_data using
         this checksum.
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         report an error if the checksum verification fails. If you receive a
         checksum error, your client should verify that
         CRC32C(additional_authenticated_data) is equal to
         additional_authenticated_data_crc32c, and if so, 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 additional_authenticated_data_crc32c = 7 [(.google.api.field_behavior) = OPTIONAL];
      • getAdditionalAuthenticatedDataCrc32CBuilder

        public com.google.protobuf.Int64Value.Builder getAdditionalAuthenticatedDataCrc32CBuilder()
         Optional. An optional CRC32C checksum of the
         [RawDecryptRequest.additional_authenticated_data][google.cloud.kms.v1.RawDecryptRequest.additional_authenticated_data].
         If specified,
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         verify the integrity of the received additional_authenticated_data using
         this checksum.
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         report an error if the checksum verification fails. If you receive a
         checksum error, your client should verify that
         CRC32C(additional_authenticated_data) is equal to
         additional_authenticated_data_crc32c, and if so, 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 additional_authenticated_data_crc32c = 7 [(.google.api.field_behavior) = OPTIONAL];
      • getAdditionalAuthenticatedDataCrc32COrBuilder

        public com.google.protobuf.Int64ValueOrBuilder getAdditionalAuthenticatedDataCrc32COrBuilder()
         Optional. An optional CRC32C checksum of the
         [RawDecryptRequest.additional_authenticated_data][google.cloud.kms.v1.RawDecryptRequest.additional_authenticated_data].
         If specified,
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         verify the integrity of the received additional_authenticated_data using
         this checksum.
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         report an error if the checksum verification fails. If you receive a
         checksum error, your client should verify that
         CRC32C(additional_authenticated_data) is equal to
         additional_authenticated_data_crc32c, and if so, 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 additional_authenticated_data_crc32c = 7 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getAdditionalAuthenticatedDataCrc32COrBuilder in interface RawDecryptRequestOrBuilder
      • hasInitializationVectorCrc32C

        public boolean hasInitializationVectorCrc32C()
         Optional. An optional CRC32C checksum of the
         [RawDecryptRequest.initialization_vector][google.cloud.kms.v1.RawDecryptRequest.initialization_vector].
         If specified,
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         verify the integrity of the received initialization_vector using this
         checksum. [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
         will report an error if the checksum verification fails. If you receive a
         checksum error, your client should verify that
         CRC32C(initialization_vector) is equal to initialization_vector_crc32c, and
         if so, 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 initialization_vector_crc32c = 8 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasInitializationVectorCrc32C in interface RawDecryptRequestOrBuilder
        Returns:
        Whether the initializationVectorCrc32c field is set.
      • getInitializationVectorCrc32C

        public com.google.protobuf.Int64Value getInitializationVectorCrc32C()
         Optional. An optional CRC32C checksum of the
         [RawDecryptRequest.initialization_vector][google.cloud.kms.v1.RawDecryptRequest.initialization_vector].
         If specified,
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         verify the integrity of the received initialization_vector using this
         checksum. [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
         will report an error if the checksum verification fails. If you receive a
         checksum error, your client should verify that
         CRC32C(initialization_vector) is equal to initialization_vector_crc32c, and
         if so, 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 initialization_vector_crc32c = 8 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getInitializationVectorCrc32C in interface RawDecryptRequestOrBuilder
        Returns:
        The initializationVectorCrc32c.
      • setInitializationVectorCrc32C

        public RawDecryptRequest.Builder setInitializationVectorCrc32C​(com.google.protobuf.Int64Value value)
         Optional. An optional CRC32C checksum of the
         [RawDecryptRequest.initialization_vector][google.cloud.kms.v1.RawDecryptRequest.initialization_vector].
         If specified,
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         verify the integrity of the received initialization_vector using this
         checksum. [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
         will report an error if the checksum verification fails. If you receive a
         checksum error, your client should verify that
         CRC32C(initialization_vector) is equal to initialization_vector_crc32c, and
         if so, 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 initialization_vector_crc32c = 8 [(.google.api.field_behavior) = OPTIONAL];
      • setInitializationVectorCrc32C

        public RawDecryptRequest.Builder setInitializationVectorCrc32C​(com.google.protobuf.Int64Value.Builder builderForValue)
         Optional. An optional CRC32C checksum of the
         [RawDecryptRequest.initialization_vector][google.cloud.kms.v1.RawDecryptRequest.initialization_vector].
         If specified,
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         verify the integrity of the received initialization_vector using this
         checksum. [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
         will report an error if the checksum verification fails. If you receive a
         checksum error, your client should verify that
         CRC32C(initialization_vector) is equal to initialization_vector_crc32c, and
         if so, 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 initialization_vector_crc32c = 8 [(.google.api.field_behavior) = OPTIONAL];
      • mergeInitializationVectorCrc32C

        public RawDecryptRequest.Builder mergeInitializationVectorCrc32C​(com.google.protobuf.Int64Value value)
         Optional. An optional CRC32C checksum of the
         [RawDecryptRequest.initialization_vector][google.cloud.kms.v1.RawDecryptRequest.initialization_vector].
         If specified,
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         verify the integrity of the received initialization_vector using this
         checksum. [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
         will report an error if the checksum verification fails. If you receive a
         checksum error, your client should verify that
         CRC32C(initialization_vector) is equal to initialization_vector_crc32c, and
         if so, 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 initialization_vector_crc32c = 8 [(.google.api.field_behavior) = OPTIONAL];
      • clearInitializationVectorCrc32C

        public RawDecryptRequest.Builder clearInitializationVectorCrc32C()
         Optional. An optional CRC32C checksum of the
         [RawDecryptRequest.initialization_vector][google.cloud.kms.v1.RawDecryptRequest.initialization_vector].
         If specified,
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         verify the integrity of the received initialization_vector using this
         checksum. [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
         will report an error if the checksum verification fails. If you receive a
         checksum error, your client should verify that
         CRC32C(initialization_vector) is equal to initialization_vector_crc32c, and
         if so, 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 initialization_vector_crc32c = 8 [(.google.api.field_behavior) = OPTIONAL];
      • getInitializationVectorCrc32CBuilder

        public com.google.protobuf.Int64Value.Builder getInitializationVectorCrc32CBuilder()
         Optional. An optional CRC32C checksum of the
         [RawDecryptRequest.initialization_vector][google.cloud.kms.v1.RawDecryptRequest.initialization_vector].
         If specified,
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         verify the integrity of the received initialization_vector using this
         checksum. [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
         will report an error if the checksum verification fails. If you receive a
         checksum error, your client should verify that
         CRC32C(initialization_vector) is equal to initialization_vector_crc32c, and
         if so, 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 initialization_vector_crc32c = 8 [(.google.api.field_behavior) = OPTIONAL];
      • getInitializationVectorCrc32COrBuilder

        public com.google.protobuf.Int64ValueOrBuilder getInitializationVectorCrc32COrBuilder()
         Optional. An optional CRC32C checksum of the
         [RawDecryptRequest.initialization_vector][google.cloud.kms.v1.RawDecryptRequest.initialization_vector].
         If specified,
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         verify the integrity of the received initialization_vector using this
         checksum. [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
         will report an error if the checksum verification fails. If you receive a
         checksum error, your client should verify that
         CRC32C(initialization_vector) is equal to initialization_vector_crc32c, and
         if so, 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 initialization_vector_crc32c = 8 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getInitializationVectorCrc32COrBuilder in interface RawDecryptRequestOrBuilder
      • setUnknownFields

        public final RawDecryptRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RawDecryptRequest.Builder>
      • mergeUnknownFields

        public final RawDecryptRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RawDecryptRequest.Builder>