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/resources.proto 18 19 package com.google.cloud.kms.v1; 20 21 public interface KeyOperationAttestationOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.kms.v1.KeyOperationAttestation) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Output only. The format of the attestation data. 31 * </pre> 32 * 33 * <code> 34 * .google.cloud.kms.v1.KeyOperationAttestation.AttestationFormat format = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; 35 * </code> 36 * 37 * @return The enum numeric value on the wire for format. 38 */ getFormatValue()39 int getFormatValue(); 40 /** 41 * 42 * 43 * <pre> 44 * Output only. The format of the attestation data. 45 * </pre> 46 * 47 * <code> 48 * .google.cloud.kms.v1.KeyOperationAttestation.AttestationFormat format = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; 49 * </code> 50 * 51 * @return The format. 52 */ getFormat()53 com.google.cloud.kms.v1.KeyOperationAttestation.AttestationFormat getFormat(); 54 55 /** 56 * 57 * 58 * <pre> 59 * Output only. The attestation data provided by the HSM when the key 60 * operation was performed. 61 * </pre> 62 * 63 * <code>bytes content = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> 64 * 65 * @return The content. 66 */ getContent()67 com.google.protobuf.ByteString getContent(); 68 69 /** 70 * 71 * 72 * <pre> 73 * Output only. The certificate chains needed to validate the attestation 74 * </pre> 75 * 76 * <code> 77 * .google.cloud.kms.v1.KeyOperationAttestation.CertificateChains cert_chains = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; 78 * </code> 79 * 80 * @return Whether the certChains field is set. 81 */ hasCertChains()82 boolean hasCertChains(); 83 /** 84 * 85 * 86 * <pre> 87 * Output only. The certificate chains needed to validate the attestation 88 * </pre> 89 * 90 * <code> 91 * .google.cloud.kms.v1.KeyOperationAttestation.CertificateChains cert_chains = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; 92 * </code> 93 * 94 * @return The certChains. 95 */ getCertChains()96 com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains getCertChains(); 97 /** 98 * 99 * 100 * <pre> 101 * Output only. The certificate chains needed to validate the attestation 102 * </pre> 103 * 104 * <code> 105 * .google.cloud.kms.v1.KeyOperationAttestation.CertificateChains cert_chains = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; 106 * </code> 107 */ 108 com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChainsOrBuilder getCertChainsOrBuilder()109 getCertChainsOrBuilder(); 110 } 111