Interface GenerateRandomBytesResponseOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.protobuf.ByteString getData()
      The generated data.
      com.google.protobuf.Int64Value getDataCrc32C()
      Integrity verification field.
      com.google.protobuf.Int64ValueOrBuilder getDataCrc32COrBuilder()
      Integrity verification field.
      boolean hasDataCrc32C()
      Integrity verification field.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getData

        com.google.protobuf.ByteString getData()
         The generated data.
         
        bytes data = 1;
        Returns:
        The data.
      • hasDataCrc32C

        boolean hasDataCrc32C()
         Integrity verification field. A CRC32C checksum of the returned
         [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data].
         An integrity check of
         [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
         can be performed by computing the CRC32C checksum of
         [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
         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 data_crc32c = 3;
        Returns:
        Whether the dataCrc32c field is set.
      • getDataCrc32C

        com.google.protobuf.Int64Value getDataCrc32C()
         Integrity verification field. A CRC32C checksum of the returned
         [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data].
         An integrity check of
         [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
         can be performed by computing the CRC32C checksum of
         [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
         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 data_crc32c = 3;
        Returns:
        The dataCrc32c.
      • getDataCrc32COrBuilder

        com.google.protobuf.Int64ValueOrBuilder getDataCrc32COrBuilder()
         Integrity verification field. A CRC32C checksum of the returned
         [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data].
         An integrity check of
         [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
         can be performed by computing the CRC32C checksum of
         [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
         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 data_crc32c = 3;