Class AsymmetricDecryptRequest.Builder

    • 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<AsymmetricDecryptRequest.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<AsymmetricDecryptRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public AsymmetricDecryptRequest.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<AsymmetricDecryptRequest.Builder>
      • addRepeatedField

        public AsymmetricDecryptRequest.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<AsymmetricDecryptRequest.Builder>
      • isInitialized

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

        public AsymmetricDecryptRequest.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<AsymmetricDecryptRequest.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, (.google.api.resource_reference) = { ... }
        Specified by:
        getName in interface AsymmetricDecryptRequestOrBuilder
        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, (.google.api.resource_reference) = { ... }
        Specified by:
        getNameBytes in interface AsymmetricDecryptRequestOrBuilder
        Returns:
        The bytes for name.
      • setName

        public AsymmetricDecryptRequest.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, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public AsymmetricDecryptRequest.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, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setNameBytes

        public AsymmetricDecryptRequest.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, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getCiphertext

        public com.google.protobuf.ByteString getCiphertext()
         Required. The data encrypted with the named
         [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s public key using
         OAEP.
         
        bytes ciphertext = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getCiphertext in interface AsymmetricDecryptRequestOrBuilder
        Returns:
        The ciphertext.
      • setCiphertext

        public AsymmetricDecryptRequest.Builder setCiphertext​(com.google.protobuf.ByteString value)
         Required. The data encrypted with the named
         [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s public key using
         OAEP.
         
        bytes ciphertext = 3 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The ciphertext to set.
        Returns:
        This builder for chaining.
      • clearCiphertext

        public AsymmetricDecryptRequest.Builder clearCiphertext()
         Required. The data encrypted with the named
         [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s public key using
         OAEP.
         
        bytes ciphertext = 3 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • hasCiphertextCrc32C

        public boolean hasCiphertextCrc32C()
         Optional. An optional CRC32C checksum of the
         [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext].
         If specified,
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         verify the integrity of the received
         [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.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([AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext])
         is equal to
         [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.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 = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasCiphertextCrc32C in interface AsymmetricDecryptRequestOrBuilder
        Returns:
        Whether the ciphertextCrc32c field is set.
      • getCiphertextCrc32C

        public com.google.protobuf.Int64Value getCiphertextCrc32C()
         Optional. An optional CRC32C checksum of the
         [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext].
         If specified,
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         verify the integrity of the received
         [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.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([AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext])
         is equal to
         [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.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 = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getCiphertextCrc32C in interface AsymmetricDecryptRequestOrBuilder
        Returns:
        The ciphertextCrc32c.
      • setCiphertextCrc32C

        public AsymmetricDecryptRequest.Builder setCiphertextCrc32C​(com.google.protobuf.Int64Value value)
         Optional. An optional CRC32C checksum of the
         [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext].
         If specified,
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         verify the integrity of the received
         [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.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([AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext])
         is equal to
         [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.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 = 4 [(.google.api.field_behavior) = OPTIONAL];
      • setCiphertextCrc32C

        public AsymmetricDecryptRequest.Builder setCiphertextCrc32C​(com.google.protobuf.Int64Value.Builder builderForValue)
         Optional. An optional CRC32C checksum of the
         [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext].
         If specified,
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         verify the integrity of the received
         [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.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([AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext])
         is equal to
         [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.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 = 4 [(.google.api.field_behavior) = OPTIONAL];
      • mergeCiphertextCrc32C

        public AsymmetricDecryptRequest.Builder mergeCiphertextCrc32C​(com.google.protobuf.Int64Value value)
         Optional. An optional CRC32C checksum of the
         [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext].
         If specified,
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         verify the integrity of the received
         [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.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([AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext])
         is equal to
         [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.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 = 4 [(.google.api.field_behavior) = OPTIONAL];
      • clearCiphertextCrc32C

        public AsymmetricDecryptRequest.Builder clearCiphertextCrc32C()
         Optional. An optional CRC32C checksum of the
         [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext].
         If specified,
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         verify the integrity of the received
         [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.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([AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext])
         is equal to
         [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.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 = 4 [(.google.api.field_behavior) = OPTIONAL];
      • getCiphertextCrc32CBuilder

        public com.google.protobuf.Int64Value.Builder getCiphertextCrc32CBuilder()
         Optional. An optional CRC32C checksum of the
         [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext].
         If specified,
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         verify the integrity of the received
         [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.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([AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext])
         is equal to
         [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.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 = 4 [(.google.api.field_behavior) = OPTIONAL];
      • getCiphertextCrc32COrBuilder

        public com.google.protobuf.Int64ValueOrBuilder getCiphertextCrc32COrBuilder()
         Optional. An optional CRC32C checksum of the
         [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext].
         If specified,
         [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will
         verify the integrity of the received
         [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.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([AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext])
         is equal to
         [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.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 = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getCiphertextCrc32COrBuilder in interface AsymmetricDecryptRequestOrBuilder
      • setUnknownFields

        public final AsymmetricDecryptRequest.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<AsymmetricDecryptRequest.Builder>
      • mergeUnknownFields

        public final AsymmetricDecryptRequest.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<AsymmetricDecryptRequest.Builder>