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/security/publicca/v1beta1/resources.proto 18 19 package com.google.cloud.security.publicca.v1beta1; 20 21 public interface ExternalAccountKeyOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.security.publicca.v1beta1.ExternalAccountKey) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Output only. Resource name. 31 * projects/{project}/locations/{location}/externalAccountKeys/{key_id} 32 * </pre> 33 * 34 * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> 35 * 36 * @return The name. 37 */ getName()38 java.lang.String getName(); 39 /** 40 * 41 * 42 * <pre> 43 * Output only. Resource name. 44 * projects/{project}/locations/{location}/externalAccountKeys/{key_id} 45 * </pre> 46 * 47 * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> 48 * 49 * @return The bytes for name. 50 */ getNameBytes()51 com.google.protobuf.ByteString getNameBytes(); 52 53 /** 54 * 55 * 56 * <pre> 57 * Output only. Key ID. 58 * It is generated by the PublicCertificateAuthorityService 59 * when the ExternalAccountKey is created 60 * </pre> 61 * 62 * <code>string key_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> 63 * 64 * @return The keyId. 65 */ getKeyId()66 java.lang.String getKeyId(); 67 /** 68 * 69 * 70 * <pre> 71 * Output only. Key ID. 72 * It is generated by the PublicCertificateAuthorityService 73 * when the ExternalAccountKey is created 74 * </pre> 75 * 76 * <code>string key_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> 77 * 78 * @return The bytes for keyId. 79 */ getKeyIdBytes()80 com.google.protobuf.ByteString getKeyIdBytes(); 81 82 /** 83 * 84 * 85 * <pre> 86 * Output only. Base64-URL-encoded HS256 key. 87 * It is generated by the PublicCertificateAuthorityService 88 * when the ExternalAccountKey is created 89 * </pre> 90 * 91 * <code>bytes b64_mac_key = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> 92 * 93 * @return The b64MacKey. 94 */ getB64MacKey()95 com.google.protobuf.ByteString getB64MacKey(); 96 } 97