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 VpnGatewayStatusVpnConnectionOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.VpnGatewayStatusVpnConnection) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * URL reference to the peer external VPN gateways to which the VPN tunnels in this VPN connection are connected. This field is mutually exclusive with peer_gcp_gateway. 31 * </pre> 32 * 33 * <code>optional string peer_external_gateway = 384956173;</code> 34 * 35 * @return Whether the peerExternalGateway field is set. 36 */ hasPeerExternalGateway()37 boolean hasPeerExternalGateway(); 38 /** 39 * 40 * 41 * <pre> 42 * URL reference to the peer external VPN gateways to which the VPN tunnels in this VPN connection are connected. This field is mutually exclusive with peer_gcp_gateway. 43 * </pre> 44 * 45 * <code>optional string peer_external_gateway = 384956173;</code> 46 * 47 * @return The peerExternalGateway. 48 */ getPeerExternalGateway()49 java.lang.String getPeerExternalGateway(); 50 /** 51 * 52 * 53 * <pre> 54 * URL reference to the peer external VPN gateways to which the VPN tunnels in this VPN connection are connected. This field is mutually exclusive with peer_gcp_gateway. 55 * </pre> 56 * 57 * <code>optional string peer_external_gateway = 384956173;</code> 58 * 59 * @return The bytes for peerExternalGateway. 60 */ getPeerExternalGatewayBytes()61 com.google.protobuf.ByteString getPeerExternalGatewayBytes(); 62 63 /** 64 * 65 * 66 * <pre> 67 * URL reference to the peer side VPN gateways to which the VPN tunnels in this VPN connection are connected. This field is mutually exclusive with peer_gcp_gateway. 68 * </pre> 69 * 70 * <code>optional string peer_gcp_gateway = 281867452;</code> 71 * 72 * @return Whether the peerGcpGateway field is set. 73 */ hasPeerGcpGateway()74 boolean hasPeerGcpGateway(); 75 /** 76 * 77 * 78 * <pre> 79 * URL reference to the peer side VPN gateways to which the VPN tunnels in this VPN connection are connected. This field is mutually exclusive with peer_gcp_gateway. 80 * </pre> 81 * 82 * <code>optional string peer_gcp_gateway = 281867452;</code> 83 * 84 * @return The peerGcpGateway. 85 */ getPeerGcpGateway()86 java.lang.String getPeerGcpGateway(); 87 /** 88 * 89 * 90 * <pre> 91 * URL reference to the peer side VPN gateways to which the VPN tunnels in this VPN connection are connected. This field is mutually exclusive with peer_gcp_gateway. 92 * </pre> 93 * 94 * <code>optional string peer_gcp_gateway = 281867452;</code> 95 * 96 * @return The bytes for peerGcpGateway. 97 */ getPeerGcpGatewayBytes()98 com.google.protobuf.ByteString getPeerGcpGatewayBytes(); 99 100 /** 101 * 102 * 103 * <pre> 104 * HighAvailabilityRequirementState for the VPN connection. 105 * </pre> 106 * 107 * <code> 108 * optional .google.cloud.compute.v1.VpnGatewayStatusHighAvailabilityRequirementState state = 109757585; 109 * </code> 110 * 111 * @return Whether the state field is set. 112 */ hasState()113 boolean hasState(); 114 /** 115 * 116 * 117 * <pre> 118 * HighAvailabilityRequirementState for the VPN connection. 119 * </pre> 120 * 121 * <code> 122 * optional .google.cloud.compute.v1.VpnGatewayStatusHighAvailabilityRequirementState state = 109757585; 123 * </code> 124 * 125 * @return The state. 126 */ getState()127 com.google.cloud.compute.v1.VpnGatewayStatusHighAvailabilityRequirementState getState(); 128 /** 129 * 130 * 131 * <pre> 132 * HighAvailabilityRequirementState for the VPN connection. 133 * </pre> 134 * 135 * <code> 136 * optional .google.cloud.compute.v1.VpnGatewayStatusHighAvailabilityRequirementState state = 109757585; 137 * </code> 138 */ 139 com.google.cloud.compute.v1.VpnGatewayStatusHighAvailabilityRequirementStateOrBuilder getStateOrBuilder()140 getStateOrBuilder(); 141 142 /** 143 * 144 * 145 * <pre> 146 * List of VPN tunnels that are in this VPN connection. 147 * </pre> 148 * 149 * <code>repeated .google.cloud.compute.v1.VpnGatewayStatusTunnel tunnels = 104561931;</code> 150 */ getTunnelsList()151 java.util.List<com.google.cloud.compute.v1.VpnGatewayStatusTunnel> getTunnelsList(); 152 /** 153 * 154 * 155 * <pre> 156 * List of VPN tunnels that are in this VPN connection. 157 * </pre> 158 * 159 * <code>repeated .google.cloud.compute.v1.VpnGatewayStatusTunnel tunnels = 104561931;</code> 160 */ getTunnels(int index)161 com.google.cloud.compute.v1.VpnGatewayStatusTunnel getTunnels(int index); 162 /** 163 * 164 * 165 * <pre> 166 * List of VPN tunnels that are in this VPN connection. 167 * </pre> 168 * 169 * <code>repeated .google.cloud.compute.v1.VpnGatewayStatusTunnel tunnels = 104561931;</code> 170 */ getTunnelsCount()171 int getTunnelsCount(); 172 /** 173 * 174 * 175 * <pre> 176 * List of VPN tunnels that are in this VPN connection. 177 * </pre> 178 * 179 * <code>repeated .google.cloud.compute.v1.VpnGatewayStatusTunnel tunnels = 104561931;</code> 180 */ 181 java.util.List<? extends com.google.cloud.compute.v1.VpnGatewayStatusTunnelOrBuilder> getTunnelsOrBuilderList()182 getTunnelsOrBuilderList(); 183 /** 184 * 185 * 186 * <pre> 187 * List of VPN tunnels that are in this VPN connection. 188 * </pre> 189 * 190 * <code>repeated .google.cloud.compute.v1.VpnGatewayStatusTunnel tunnels = 104561931;</code> 191 */ getTunnelsOrBuilder(int index)192 com.google.cloud.compute.v1.VpnGatewayStatusTunnelOrBuilder getTunnelsOrBuilder(int index); 193 } 194