• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 ExternalVpnGatewayInterfaceOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.ExternalVpnGatewayInterface)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * The numeric ID of this interface. The allowed input values for this id for different redundancy types of external VPN gateway: - SINGLE_IP_INTERNALLY_REDUNDANT - 0 - TWO_IPS_REDUNDANCY - 0, 1 - FOUR_IPS_REDUNDANCY - 0, 1, 2, 3
31    * </pre>
32    *
33    * <code>optional uint32 id = 3355;</code>
34    *
35    * @return Whether the id field is set.
36    */
hasId()37   boolean hasId();
38   /**
39    *
40    *
41    * <pre>
42    * The numeric ID of this interface. The allowed input values for this id for different redundancy types of external VPN gateway: - SINGLE_IP_INTERNALLY_REDUNDANT - 0 - TWO_IPS_REDUNDANCY - 0, 1 - FOUR_IPS_REDUNDANCY - 0, 1, 2, 3
43    * </pre>
44    *
45    * <code>optional uint32 id = 3355;</code>
46    *
47    * @return The id.
48    */
getId()49   int getId();
50 
51   /**
52    *
53    *
54    * <pre>
55    * IP address of the interface in the external VPN gateway. Only IPv4 is supported. This IP address can be either from your on-premise gateway or another Cloud provider's VPN gateway, it cannot be an IP address from Google Compute Engine.
56    * </pre>
57    *
58    * <code>optional string ip_address = 406272220;</code>
59    *
60    * @return Whether the ipAddress field is set.
61    */
hasIpAddress()62   boolean hasIpAddress();
63   /**
64    *
65    *
66    * <pre>
67    * IP address of the interface in the external VPN gateway. Only IPv4 is supported. This IP address can be either from your on-premise gateway or another Cloud provider's VPN gateway, it cannot be an IP address from Google Compute Engine.
68    * </pre>
69    *
70    * <code>optional string ip_address = 406272220;</code>
71    *
72    * @return The ipAddress.
73    */
getIpAddress()74   java.lang.String getIpAddress();
75   /**
76    *
77    *
78    * <pre>
79    * IP address of the interface in the external VPN gateway. Only IPv4 is supported. This IP address can be either from your on-premise gateway or another Cloud provider's VPN gateway, it cannot be an IP address from Google Compute Engine.
80    * </pre>
81    *
82    * <code>optional string ip_address = 406272220;</code>
83    *
84    * @return The bytes for ipAddress.
85    */
getIpAddressBytes()86   com.google.protobuf.ByteString getIpAddressBytes();
87 }
88