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 CacheInvalidationRuleOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.CacheInvalidationRule) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * If set, this invalidation rule will only apply to requests with a Host header matching host. 31 * </pre> 32 * 33 * <code>optional string host = 3208616;</code> 34 * 35 * @return Whether the host field is set. 36 */ hasHost()37 boolean hasHost(); 38 /** 39 * 40 * 41 * <pre> 42 * If set, this invalidation rule will only apply to requests with a Host header matching host. 43 * </pre> 44 * 45 * <code>optional string host = 3208616;</code> 46 * 47 * @return The host. 48 */ getHost()49 java.lang.String getHost(); 50 /** 51 * 52 * 53 * <pre> 54 * If set, this invalidation rule will only apply to requests with a Host header matching host. 55 * </pre> 56 * 57 * <code>optional string host = 3208616;</code> 58 * 59 * @return The bytes for host. 60 */ getHostBytes()61 com.google.protobuf.ByteString getHostBytes(); 62 63 /** 64 * <code>optional string path = 3433509;</code> 65 * 66 * @return Whether the path field is set. 67 */ hasPath()68 boolean hasPath(); 69 /** 70 * <code>optional string path = 3433509;</code> 71 * 72 * @return The path. 73 */ getPath()74 java.lang.String getPath(); 75 /** 76 * <code>optional string path = 3433509;</code> 77 * 78 * @return The bytes for path. 79 */ getPathBytes()80 com.google.protobuf.ByteString getPathBytes(); 81 } 82