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/compute/v1/compute.proto 18 19 package com.google.cloud.compute.v1; 20 21 public interface SignedUrlKeyOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.SignedUrlKey) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Name of the key. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. 31 * </pre> 32 * 33 * <code>optional string key_name = 500938859;</code> 34 * 35 * @return Whether the keyName field is set. 36 */ hasKeyName()37 boolean hasKeyName(); 38 /** 39 * 40 * 41 * <pre> 42 * Name of the key. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. 43 * </pre> 44 * 45 * <code>optional string key_name = 500938859;</code> 46 * 47 * @return The keyName. 48 */ getKeyName()49 java.lang.String getKeyName(); 50 /** 51 * 52 * 53 * <pre> 54 * Name of the key. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. 55 * </pre> 56 * 57 * <code>optional string key_name = 500938859;</code> 58 * 59 * @return The bytes for keyName. 60 */ getKeyNameBytes()61 com.google.protobuf.ByteString getKeyNameBytes(); 62 63 /** 64 * 65 * 66 * <pre> 67 * 128-bit key value used for signing the URL. The key value must be a valid RFC 4648 Section 5 base64url encoded string. 68 * </pre> 69 * 70 * <code>optional string key_value = 504106897;</code> 71 * 72 * @return Whether the keyValue field is set. 73 */ hasKeyValue()74 boolean hasKeyValue(); 75 /** 76 * 77 * 78 * <pre> 79 * 128-bit key value used for signing the URL. The key value must be a valid RFC 4648 Section 5 base64url encoded string. 80 * </pre> 81 * 82 * <code>optional string key_value = 504106897;</code> 83 * 84 * @return The keyValue. 85 */ getKeyValue()86 java.lang.String getKeyValue(); 87 /** 88 * 89 * 90 * <pre> 91 * 128-bit key value used for signing the URL. The key value must be a valid RFC 4648 Section 5 base64url encoded string. 92 * </pre> 93 * 94 * <code>optional string key_value = 504106897;</code> 95 * 96 * @return The bytes for keyValue. 97 */ getKeyValueBytes()98 com.google.protobuf.ByteString getKeyValueBytes(); 99 } 100