Class MacVerifyRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<MacVerifyRequest.Builder>
com.google.cloud.kms.v1.MacVerifyRequest.Builder
All Implemented Interfaces:
MacVerifyRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
MacVerifyRequest

public static final class MacVerifyRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<MacVerifyRequest.Builder> implements MacVerifyRequestOrBuilder
 Request message for
 [KeyManagementService.MacVerify][google.cloud.kms.v1.KeyManagementService.MacVerify].
 
Protobuf type google.cloud.kms.v1.MacVerifyRequest
  • Method Details

    • getDescriptor

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

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

      public MacVerifyRequest.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.GeneratedMessage.Builder<MacVerifyRequest.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.GeneratedMessage.Builder<MacVerifyRequest.Builder>
    • getDefaultInstanceForType

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

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

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

      public MacVerifyRequest.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<MacVerifyRequest.Builder>
    • mergeFrom

      public MacVerifyRequest.Builder mergeFrom(MacVerifyRequest other)
    • isInitialized

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

      public MacVerifyRequest.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<MacVerifyRequest.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Required. The resource name of the
       [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
       verification.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getName in interface MacVerifyRequestOrBuilder
      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
       verification.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getNameBytes in interface MacVerifyRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

      public MacVerifyRequest.Builder setName(String value)
       Required. The resource name of the
       [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
       verification.
       
      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 MacVerifyRequest.Builder clearName()
       Required. The resource name of the
       [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
       verification.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setNameBytes

      public MacVerifyRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       Required. The resource name of the
       [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for
       verification.
       
      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.
    • getData

      public com.google.protobuf.ByteString getData()
       Required. The data used previously as a
       [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] to generate
       the MAC tag.
       
      bytes data = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getData in interface MacVerifyRequestOrBuilder
      Returns:
      The data.
    • setData

      public MacVerifyRequest.Builder setData(com.google.protobuf.ByteString value)
       Required. The data used previously as a
       [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] to generate
       the MAC tag.
       
      bytes data = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The data to set.
      Returns:
      This builder for chaining.
    • clearData

      public MacVerifyRequest.Builder clearData()
       Required. The data used previously as a
       [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] to generate
       the MAC tag.
       
      bytes data = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • hasDataCrc32C

      public boolean hasDataCrc32C()
       Optional. An optional CRC32C checksum of the
       [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]. If
       specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
       will verify the integrity of the received
       [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.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([MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data])
       is equal to
       [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.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 data_crc32c = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasDataCrc32C in interface MacVerifyRequestOrBuilder
      Returns:
      Whether the dataCrc32c field is set.
    • getDataCrc32C

      public com.google.protobuf.Int64Value getDataCrc32C()
       Optional. An optional CRC32C checksum of the
       [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]. If
       specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
       will verify the integrity of the received
       [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.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([MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data])
       is equal to
       [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.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 data_crc32c = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDataCrc32C in interface MacVerifyRequestOrBuilder
      Returns:
      The dataCrc32c.
    • setDataCrc32C

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

      public MacVerifyRequest.Builder setDataCrc32C(com.google.protobuf.Int64Value.Builder builderForValue)
       Optional. An optional CRC32C checksum of the
       [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]. If
       specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
       will verify the integrity of the received
       [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.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([MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data])
       is equal to
       [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.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 data_crc32c = 3 [(.google.api.field_behavior) = OPTIONAL];
    • mergeDataCrc32C

      public MacVerifyRequest.Builder mergeDataCrc32C(com.google.protobuf.Int64Value value)
       Optional. An optional CRC32C checksum of the
       [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]. If
       specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
       will verify the integrity of the received
       [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.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([MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data])
       is equal to
       [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.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 data_crc32c = 3 [(.google.api.field_behavior) = OPTIONAL];
    • clearDataCrc32C

      public MacVerifyRequest.Builder clearDataCrc32C()
       Optional. An optional CRC32C checksum of the
       [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]. If
       specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
       will verify the integrity of the received
       [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.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([MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data])
       is equal to
       [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.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 data_crc32c = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getDataCrc32CBuilder

      public com.google.protobuf.Int64Value.Builder getDataCrc32CBuilder()
       Optional. An optional CRC32C checksum of the
       [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]. If
       specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
       will verify the integrity of the received
       [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.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([MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data])
       is equal to
       [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.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 data_crc32c = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getDataCrc32COrBuilder

      public com.google.protobuf.Int64ValueOrBuilder getDataCrc32COrBuilder()
       Optional. An optional CRC32C checksum of the
       [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]. If
       specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
       will verify the integrity of the received
       [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.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([MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data])
       is equal to
       [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.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 data_crc32c = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDataCrc32COrBuilder in interface MacVerifyRequestOrBuilder
    • getMac

      public com.google.protobuf.ByteString getMac()
       Required. The signature to verify.
       
      bytes mac = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getMac in interface MacVerifyRequestOrBuilder
      Returns:
      The mac.
    • setMac

      public MacVerifyRequest.Builder setMac(com.google.protobuf.ByteString value)
       Required. The signature to verify.
       
      bytes mac = 4 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The mac to set.
      Returns:
      This builder for chaining.
    • clearMac

      public MacVerifyRequest.Builder clearMac()
       Required. The signature to verify.
       
      bytes mac = 4 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • hasMacCrc32C

      public boolean hasMacCrc32C()
       Optional. An optional CRC32C checksum of the
       [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]. If
       specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
       will verify the integrity of the received
       [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] 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([MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]) is
       equal to
       [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_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 mac_crc32c = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasMacCrc32C in interface MacVerifyRequestOrBuilder
      Returns:
      Whether the macCrc32c field is set.
    • getMacCrc32C

      public com.google.protobuf.Int64Value getMacCrc32C()
       Optional. An optional CRC32C checksum of the
       [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]. If
       specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
       will verify the integrity of the received
       [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] 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([MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]) is
       equal to
       [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_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 mac_crc32c = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMacCrc32C in interface MacVerifyRequestOrBuilder
      Returns:
      The macCrc32c.
    • setMacCrc32C

      public MacVerifyRequest.Builder setMacCrc32C(com.google.protobuf.Int64Value value)
       Optional. An optional CRC32C checksum of the
       [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]. If
       specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
       will verify the integrity of the received
       [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] 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([MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]) is
       equal to
       [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_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 mac_crc32c = 5 [(.google.api.field_behavior) = OPTIONAL];
    • setMacCrc32C

      public MacVerifyRequest.Builder setMacCrc32C(com.google.protobuf.Int64Value.Builder builderForValue)
       Optional. An optional CRC32C checksum of the
       [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]. If
       specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
       will verify the integrity of the received
       [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] 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([MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]) is
       equal to
       [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_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 mac_crc32c = 5 [(.google.api.field_behavior) = OPTIONAL];
    • mergeMacCrc32C

      public MacVerifyRequest.Builder mergeMacCrc32C(com.google.protobuf.Int64Value value)
       Optional. An optional CRC32C checksum of the
       [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]. If
       specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
       will verify the integrity of the received
       [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] 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([MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]) is
       equal to
       [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_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 mac_crc32c = 5 [(.google.api.field_behavior) = OPTIONAL];
    • clearMacCrc32C

      public MacVerifyRequest.Builder clearMacCrc32C()
       Optional. An optional CRC32C checksum of the
       [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]. If
       specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
       will verify the integrity of the received
       [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] 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([MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]) is
       equal to
       [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_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 mac_crc32c = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getMacCrc32CBuilder

      public com.google.protobuf.Int64Value.Builder getMacCrc32CBuilder()
       Optional. An optional CRC32C checksum of the
       [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]. If
       specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
       will verify the integrity of the received
       [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] 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([MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]) is
       equal to
       [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_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 mac_crc32c = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getMacCrc32COrBuilder

      public com.google.protobuf.Int64ValueOrBuilder getMacCrc32COrBuilder()
       Optional. An optional CRC32C checksum of the
       [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]. If
       specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService]
       will verify the integrity of the received
       [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] 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([MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]) is
       equal to
       [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_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 mac_crc32c = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMacCrc32COrBuilder in interface MacVerifyRequestOrBuilder