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 UrlRewriteOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.UrlRewrite) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Before forwarding the request to the selected service, the request's host header is replaced with contents of hostRewrite. The value must be from 1 to 255 characters. 31 * </pre> 32 * 33 * <code>optional string host_rewrite = 159819253;</code> 34 * 35 * @return Whether the hostRewrite field is set. 36 */ hasHostRewrite()37 boolean hasHostRewrite(); 38 /** 39 * 40 * 41 * <pre> 42 * Before forwarding the request to the selected service, the request's host header is replaced with contents of hostRewrite. The value must be from 1 to 255 characters. 43 * </pre> 44 * 45 * <code>optional string host_rewrite = 159819253;</code> 46 * 47 * @return The hostRewrite. 48 */ getHostRewrite()49 java.lang.String getHostRewrite(); 50 /** 51 * 52 * 53 * <pre> 54 * Before forwarding the request to the selected service, the request's host header is replaced with contents of hostRewrite. The value must be from 1 to 255 characters. 55 * </pre> 56 * 57 * <code>optional string host_rewrite = 159819253;</code> 58 * 59 * @return The bytes for hostRewrite. 60 */ getHostRewriteBytes()61 com.google.protobuf.ByteString getHostRewriteBytes(); 62 63 /** 64 * 65 * 66 * <pre> 67 * Before forwarding the request to the selected backend service, the matching portion of the request's path is replaced by pathPrefixRewrite. The value must be from 1 to 1024 characters. 68 * </pre> 69 * 70 * <code>optional string path_prefix_rewrite = 41186361;</code> 71 * 72 * @return Whether the pathPrefixRewrite field is set. 73 */ hasPathPrefixRewrite()74 boolean hasPathPrefixRewrite(); 75 /** 76 * 77 * 78 * <pre> 79 * Before forwarding the request to the selected backend service, the matching portion of the request's path is replaced by pathPrefixRewrite. The value must be from 1 to 1024 characters. 80 * </pre> 81 * 82 * <code>optional string path_prefix_rewrite = 41186361;</code> 83 * 84 * @return The pathPrefixRewrite. 85 */ getPathPrefixRewrite()86 java.lang.String getPathPrefixRewrite(); 87 /** 88 * 89 * 90 * <pre> 91 * Before forwarding the request to the selected backend service, the matching portion of the request's path is replaced by pathPrefixRewrite. The value must be from 1 to 1024 characters. 92 * </pre> 93 * 94 * <code>optional string path_prefix_rewrite = 41186361;</code> 95 * 96 * @return The bytes for pathPrefixRewrite. 97 */ getPathPrefixRewriteBytes()98 com.google.protobuf.ByteString getPathPrefixRewriteBytes(); 99 } 100