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 BackendServiceLocalityLoadBalancingPolicyConfigOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * <code> 28 * optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy custom_policy = 4818368; 29 * </code> 30 * 31 * @return Whether the customPolicy field is set. 32 */ hasCustomPolicy()33 boolean hasCustomPolicy(); 34 /** 35 * <code> 36 * optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy custom_policy = 4818368; 37 * </code> 38 * 39 * @return The customPolicy. 40 */ 41 com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy getCustomPolicy()42 getCustomPolicy(); 43 /** 44 * <code> 45 * optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy custom_policy = 4818368; 46 * </code> 47 */ 48 com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyOrBuilder getCustomPolicyOrBuilder()49 getCustomPolicyOrBuilder(); 50 51 /** 52 * <code> 53 * optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy policy = 91071794; 54 * </code> 55 * 56 * @return Whether the policy field is set. 57 */ hasPolicy()58 boolean hasPolicy(); 59 /** 60 * <code> 61 * optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy policy = 91071794; 62 * </code> 63 * 64 * @return The policy. 65 */ getPolicy()66 com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy getPolicy(); 67 /** 68 * <code> 69 * optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy policy = 91071794; 70 * </code> 71 */ 72 com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicyOrBuilder getPolicyOrBuilder()73 getPolicyOrBuilder(); 74 } 75