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 UpdateCryptoKeyVersionRequestOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.kms.v1.UpdateCryptoKeyVersionRequest) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with 31 * updated values. 32 * </pre> 33 * 34 * <code> 35 * .google.cloud.kms.v1.CryptoKeyVersion crypto_key_version = 1 [(.google.api.field_behavior) = REQUIRED]; 36 * </code> 37 * 38 * @return Whether the cryptoKeyVersion field is set. 39 */ hasCryptoKeyVersion()40 boolean hasCryptoKeyVersion(); 41 /** 42 * 43 * 44 * <pre> 45 * Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with 46 * updated values. 47 * </pre> 48 * 49 * <code> 50 * .google.cloud.kms.v1.CryptoKeyVersion crypto_key_version = 1 [(.google.api.field_behavior) = REQUIRED]; 51 * </code> 52 * 53 * @return The cryptoKeyVersion. 54 */ getCryptoKeyVersion()55 com.google.cloud.kms.v1.CryptoKeyVersion getCryptoKeyVersion(); 56 /** 57 * 58 * 59 * <pre> 60 * Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with 61 * updated values. 62 * </pre> 63 * 64 * <code> 65 * .google.cloud.kms.v1.CryptoKeyVersion crypto_key_version = 1 [(.google.api.field_behavior) = REQUIRED]; 66 * </code> 67 */ getCryptoKeyVersionOrBuilder()68 com.google.cloud.kms.v1.CryptoKeyVersionOrBuilder getCryptoKeyVersionOrBuilder(); 69 70 /** 71 * 72 * 73 * <pre> 74 * Required. List of fields to be updated in this request. 75 * </pre> 76 * 77 * <code>.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; 78 * </code> 79 * 80 * @return Whether the updateMask field is set. 81 */ hasUpdateMask()82 boolean hasUpdateMask(); 83 /** 84 * 85 * 86 * <pre> 87 * Required. List of fields to be updated in this request. 88 * </pre> 89 * 90 * <code>.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; 91 * </code> 92 * 93 * @return The updateMask. 94 */ getUpdateMask()95 com.google.protobuf.FieldMask getUpdateMask(); 96 /** 97 * 98 * 99 * <pre> 100 * Required. List of fields to be updated in this request. 101 * </pre> 102 * 103 * <code>.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; 104 * </code> 105 */ getUpdateMaskOrBuilder()106 com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); 107 } 108