Class ExportTrustedKeyWrappedCryptoKeyVersionResponse.Builder

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

public static final class ExportTrustedKeyWrappedCryptoKeyVersionResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ExportTrustedKeyWrappedCryptoKeyVersionResponse.Builder> implements ExportTrustedKeyWrappedCryptoKeyVersionResponseOrBuilder
 Response message for
 [KeyManagementService.ExportTrustedKeyWrappedCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.ExportTrustedKeyWrappedCryptoKeyVersion].
 
Protobuf type google.cloud.kms.v1.ExportTrustedKeyWrappedCryptoKeyVersionResponse
  • 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<ExportTrustedKeyWrappedCryptoKeyVersionResponse.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<ExportTrustedKeyWrappedCryptoKeyVersionResponse.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<ExportTrustedKeyWrappedCryptoKeyVersionResponse.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

    • isInitialized

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

      public ExportTrustedKeyWrappedCryptoKeyVersionResponse.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<ExportTrustedKeyWrappedCryptoKeyVersionResponse.Builder>
      Throws:
      IOException
    • getWrappedKey

      public com.google.protobuf.ByteString getWrappedKey()
       The wrapped key material.
       
      bytes wrapped_key = 1;
      Specified by:
      getWrappedKey in interface ExportTrustedKeyWrappedCryptoKeyVersionResponseOrBuilder
      Returns:
      The wrappedKey.
    • setWrappedKey

      public ExportTrustedKeyWrappedCryptoKeyVersionResponse.Builder setWrappedKey(com.google.protobuf.ByteString value)
       The wrapped key material.
       
      bytes wrapped_key = 1;
      Parameters:
      value - The wrappedKey to set.
      Returns:
      This builder for chaining.
    • clearWrappedKey

       The wrapped key material.
       
      bytes wrapped_key = 1;
      Returns:
      This builder for chaining.
    • hasWrappedKeyCrc32C

      public boolean hasWrappedKeyCrc32C()
       Integrity verification field. A CRC32C checksum of the returned
       [ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key][google.cloud.kms.v1.ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key].
       An integrity check of
       [ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key][google.cloud.kms.v1.ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key]
       can be performed by computing the CRC32C checksum of
       [ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key][google.cloud.kms.v1.ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key]
       and comparing your results to this field. Discard the response in case of
       non-matching checksum values, and perform a limited number of retries. A
       persistent mismatch may indicate an issue in your computation of the CRC32C
       checksum.
       Note: This field is defined as int64 for reasons of compatibility across
       different languages. However, it is a non-negative integer, which will
       never exceed 2^32-1, and can be safely downconverted to uint32 in languages
       that support this type.
       
      .google.protobuf.Int64Value wrapped_key_crc32c = 2;
      Specified by:
      hasWrappedKeyCrc32C in interface ExportTrustedKeyWrappedCryptoKeyVersionResponseOrBuilder
      Returns:
      Whether the wrappedKeyCrc32c field is set.
    • getWrappedKeyCrc32C

      public com.google.protobuf.Int64Value getWrappedKeyCrc32C()
       Integrity verification field. A CRC32C checksum of the returned
       [ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key][google.cloud.kms.v1.ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key].
       An integrity check of
       [ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key][google.cloud.kms.v1.ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key]
       can be performed by computing the CRC32C checksum of
       [ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key][google.cloud.kms.v1.ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key]
       and comparing your results to this field. Discard the response in case of
       non-matching checksum values, and perform a limited number of retries. A
       persistent mismatch may indicate an issue in your computation of the CRC32C
       checksum.
       Note: This field is defined as int64 for reasons of compatibility across
       different languages. However, it is a non-negative integer, which will
       never exceed 2^32-1, and can be safely downconverted to uint32 in languages
       that support this type.
       
      .google.protobuf.Int64Value wrapped_key_crc32c = 2;
      Specified by:
      getWrappedKeyCrc32C in interface ExportTrustedKeyWrappedCryptoKeyVersionResponseOrBuilder
      Returns:
      The wrappedKeyCrc32c.
    • setWrappedKeyCrc32C

      public ExportTrustedKeyWrappedCryptoKeyVersionResponse.Builder setWrappedKeyCrc32C(com.google.protobuf.Int64Value value)
       Integrity verification field. A CRC32C checksum of the returned
       [ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key][google.cloud.kms.v1.ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key].
       An integrity check of
       [ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key][google.cloud.kms.v1.ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key]
       can be performed by computing the CRC32C checksum of
       [ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key][google.cloud.kms.v1.ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key]
       and comparing your results to this field. Discard the response in case of
       non-matching checksum values, and perform a limited number of retries. A
       persistent mismatch may indicate an issue in your computation of the CRC32C
       checksum.
       Note: This field is defined as int64 for reasons of compatibility across
       different languages. However, it is a non-negative integer, which will
       never exceed 2^32-1, and can be safely downconverted to uint32 in languages
       that support this type.
       
      .google.protobuf.Int64Value wrapped_key_crc32c = 2;
    • setWrappedKeyCrc32C

      public ExportTrustedKeyWrappedCryptoKeyVersionResponse.Builder setWrappedKeyCrc32C(com.google.protobuf.Int64Value.Builder builderForValue)
       Integrity verification field. A CRC32C checksum of the returned
       [ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key][google.cloud.kms.v1.ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key].
       An integrity check of
       [ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key][google.cloud.kms.v1.ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key]
       can be performed by computing the CRC32C checksum of
       [ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key][google.cloud.kms.v1.ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key]
       and comparing your results to this field. Discard the response in case of
       non-matching checksum values, and perform a limited number of retries. A
       persistent mismatch may indicate an issue in your computation of the CRC32C
       checksum.
       Note: This field is defined as int64 for reasons of compatibility across
       different languages. However, it is a non-negative integer, which will
       never exceed 2^32-1, and can be safely downconverted to uint32 in languages
       that support this type.
       
      .google.protobuf.Int64Value wrapped_key_crc32c = 2;
    • mergeWrappedKeyCrc32C

      public ExportTrustedKeyWrappedCryptoKeyVersionResponse.Builder mergeWrappedKeyCrc32C(com.google.protobuf.Int64Value value)
       Integrity verification field. A CRC32C checksum of the returned
       [ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key][google.cloud.kms.v1.ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key].
       An integrity check of
       [ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key][google.cloud.kms.v1.ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key]
       can be performed by computing the CRC32C checksum of
       [ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key][google.cloud.kms.v1.ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key]
       and comparing your results to this field. Discard the response in case of
       non-matching checksum values, and perform a limited number of retries. A
       persistent mismatch may indicate an issue in your computation of the CRC32C
       checksum.
       Note: This field is defined as int64 for reasons of compatibility across
       different languages. However, it is a non-negative integer, which will
       never exceed 2^32-1, and can be safely downconverted to uint32 in languages
       that support this type.
       
      .google.protobuf.Int64Value wrapped_key_crc32c = 2;
    • clearWrappedKeyCrc32C

       Integrity verification field. A CRC32C checksum of the returned
       [ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key][google.cloud.kms.v1.ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key].
       An integrity check of
       [ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key][google.cloud.kms.v1.ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key]
       can be performed by computing the CRC32C checksum of
       [ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key][google.cloud.kms.v1.ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key]
       and comparing your results to this field. Discard the response in case of
       non-matching checksum values, and perform a limited number of retries. A
       persistent mismatch may indicate an issue in your computation of the CRC32C
       checksum.
       Note: This field is defined as int64 for reasons of compatibility across
       different languages. However, it is a non-negative integer, which will
       never exceed 2^32-1, and can be safely downconverted to uint32 in languages
       that support this type.
       
      .google.protobuf.Int64Value wrapped_key_crc32c = 2;
    • getWrappedKeyCrc32CBuilder

      public com.google.protobuf.Int64Value.Builder getWrappedKeyCrc32CBuilder()
       Integrity verification field. A CRC32C checksum of the returned
       [ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key][google.cloud.kms.v1.ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key].
       An integrity check of
       [ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key][google.cloud.kms.v1.ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key]
       can be performed by computing the CRC32C checksum of
       [ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key][google.cloud.kms.v1.ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key]
       and comparing your results to this field. Discard the response in case of
       non-matching checksum values, and perform a limited number of retries. A
       persistent mismatch may indicate an issue in your computation of the CRC32C
       checksum.
       Note: This field is defined as int64 for reasons of compatibility across
       different languages. However, it is a non-negative integer, which will
       never exceed 2^32-1, and can be safely downconverted to uint32 in languages
       that support this type.
       
      .google.protobuf.Int64Value wrapped_key_crc32c = 2;
    • getWrappedKeyCrc32COrBuilder

      public com.google.protobuf.Int64ValueOrBuilder getWrappedKeyCrc32COrBuilder()
       Integrity verification field. A CRC32C checksum of the returned
       [ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key][google.cloud.kms.v1.ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key].
       An integrity check of
       [ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key][google.cloud.kms.v1.ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key]
       can be performed by computing the CRC32C checksum of
       [ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key][google.cloud.kms.v1.ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key]
       and comparing your results to this field. Discard the response in case of
       non-matching checksum values, and perform a limited number of retries. A
       persistent mismatch may indicate an issue in your computation of the CRC32C
       checksum.
       Note: This field is defined as int64 for reasons of compatibility across
       different languages. However, it is a non-negative integer, which will
       never exceed 2^32-1, and can be safely downconverted to uint32 in languages
       that support this type.
       
      .google.protobuf.Int64Value wrapped_key_crc32c = 2;
      Specified by:
      getWrappedKeyCrc32COrBuilder in interface ExportTrustedKeyWrappedCryptoKeyVersionResponseOrBuilder