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 VpnGatewayStatusHighAvailabilityRequirementStateOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.VpnGatewayStatusHighAvailabilityRequirementState) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Indicates the high availability requirement state for the VPN connection. Valid values are CONNECTION_REDUNDANCY_MET, CONNECTION_REDUNDANCY_NOT_MET. 31 * Check the State enum for the list of possible values. 32 * </pre> 33 * 34 * <code>optional string state = 109757585;</code> 35 * 36 * @return Whether the state field is set. 37 */ hasState()38 boolean hasState(); 39 /** 40 * 41 * 42 * <pre> 43 * Indicates the high availability requirement state for the VPN connection. Valid values are CONNECTION_REDUNDANCY_MET, CONNECTION_REDUNDANCY_NOT_MET. 44 * Check the State enum for the list of possible values. 45 * </pre> 46 * 47 * <code>optional string state = 109757585;</code> 48 * 49 * @return The state. 50 */ getState()51 java.lang.String getState(); 52 /** 53 * 54 * 55 * <pre> 56 * Indicates the high availability requirement state for the VPN connection. Valid values are CONNECTION_REDUNDANCY_MET, CONNECTION_REDUNDANCY_NOT_MET. 57 * Check the State enum for the list of possible values. 58 * </pre> 59 * 60 * <code>optional string state = 109757585;</code> 61 * 62 * @return The bytes for state. 63 */ getStateBytes()64 com.google.protobuf.ByteString getStateBytes(); 65 66 /** 67 * 68 * 69 * <pre> 70 * Indicates the reason why the VPN connection does not meet the high availability redundancy criteria/requirement. Valid values is INCOMPLETE_TUNNELS_COVERAGE. 71 * Check the UnsatisfiedReason enum for the list of possible values. 72 * </pre> 73 * 74 * <code>optional string unsatisfied_reason = 55016330;</code> 75 * 76 * @return Whether the unsatisfiedReason field is set. 77 */ hasUnsatisfiedReason()78 boolean hasUnsatisfiedReason(); 79 /** 80 * 81 * 82 * <pre> 83 * Indicates the reason why the VPN connection does not meet the high availability redundancy criteria/requirement. Valid values is INCOMPLETE_TUNNELS_COVERAGE. 84 * Check the UnsatisfiedReason enum for the list of possible values. 85 * </pre> 86 * 87 * <code>optional string unsatisfied_reason = 55016330;</code> 88 * 89 * @return The unsatisfiedReason. 90 */ getUnsatisfiedReason()91 java.lang.String getUnsatisfiedReason(); 92 /** 93 * 94 * 95 * <pre> 96 * Indicates the reason why the VPN connection does not meet the high availability redundancy criteria/requirement. Valid values is INCOMPLETE_TUNNELS_COVERAGE. 97 * Check the UnsatisfiedReason enum for the list of possible values. 98 * </pre> 99 * 100 * <code>optional string unsatisfied_reason = 55016330;</code> 101 * 102 * @return The bytes for unsatisfiedReason. 103 */ getUnsatisfiedReasonBytes()104 com.google.protobuf.ByteString getUnsatisfiedReasonBytes(); 105 } 106