1 /* 2 * Copyright 2020 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // source: google/cloud/kms/v1/service.proto 18 19 package com.google.cloud.kms.v1; 20 21 public interface GenerateRandomBytesResponseOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.kms.v1.GenerateRandomBytesResponse) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * The generated data. 31 * </pre> 32 * 33 * <code>bytes data = 1;</code> 34 * 35 * @return The data. 36 */ getData()37 com.google.protobuf.ByteString getData(); 38 39 /** 40 * 41 * 42 * <pre> 43 * Integrity verification field. A CRC32C checksum of the returned 44 * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]. 45 * An integrity check of 46 * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data] 47 * can be performed by computing the CRC32C checksum of 48 * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data] 49 * and comparing your results to this field. Discard the response in case of 50 * non-matching checksum values, and perform a limited number of retries. A 51 * persistent mismatch may indicate an issue in your computation of the CRC32C 52 * checksum. Note: This field is defined as int64 for reasons of compatibility 53 * across different languages. However, it is a non-negative integer, which 54 * will never exceed 2^32-1, and can be safely downconverted to uint32 in 55 * languages that support this type. 56 * </pre> 57 * 58 * <code>.google.protobuf.Int64Value data_crc32c = 3;</code> 59 * 60 * @return Whether the dataCrc32c field is set. 61 */ hasDataCrc32C()62 boolean hasDataCrc32C(); 63 /** 64 * 65 * 66 * <pre> 67 * Integrity verification field. A CRC32C checksum of the returned 68 * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]. 69 * An integrity check of 70 * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data] 71 * can be performed by computing the CRC32C checksum of 72 * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data] 73 * and comparing your results to this field. Discard the response in case of 74 * non-matching checksum values, and perform a limited number of retries. A 75 * persistent mismatch may indicate an issue in your computation of the CRC32C 76 * checksum. Note: This field is defined as int64 for reasons of compatibility 77 * across different languages. However, it is a non-negative integer, which 78 * will never exceed 2^32-1, and can be safely downconverted to uint32 in 79 * languages that support this type. 80 * </pre> 81 * 82 * <code>.google.protobuf.Int64Value data_crc32c = 3;</code> 83 * 84 * @return The dataCrc32c. 85 */ getDataCrc32C()86 com.google.protobuf.Int64Value getDataCrc32C(); 87 /** 88 * 89 * 90 * <pre> 91 * Integrity verification field. A CRC32C checksum of the returned 92 * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]. 93 * An integrity check of 94 * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data] 95 * can be performed by computing the CRC32C checksum of 96 * [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data] 97 * and comparing your results to this field. Discard the response in case of 98 * non-matching checksum values, and perform a limited number of retries. A 99 * persistent mismatch may indicate an issue in your computation of the CRC32C 100 * checksum. Note: This field is defined as int64 for reasons of compatibility 101 * across different languages. However, it is a non-negative integer, which 102 * will never exceed 2^32-1, and can be safely downconverted to uint32 in 103 * languages that support this type. 104 * </pre> 105 * 106 * <code>.google.protobuf.Int64Value data_crc32c = 3;</code> 107 */ getDataCrc32COrBuilder()108 com.google.protobuf.Int64ValueOrBuilder getDataCrc32COrBuilder(); 109 } 110