public final class VpnGatewayStatusVpnConnection extends GeneratedMessageV3 implements VpnGatewayStatusVpnConnectionOrBuilder
A VPN connection contains all VPN tunnels connected from this VpnGateway to the same peer gateway. The peer gateway could either be a external VPN gateway or GCP VPN gateway.
Protobuf type google.cloud.compute.v1.VpnGatewayStatusVpnConnection
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
PEER_EXTERNAL_GATEWAY_FIELD_NUMBER
public static final int PEER_EXTERNAL_GATEWAY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PEER_GCP_GATEWAY_FIELD_NUMBER
public static final int PEER_GCP_GATEWAY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TUNNELS_FIELD_NUMBER
public static final int TUNNELS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static VpnGatewayStatusVpnConnection getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static VpnGatewayStatusVpnConnection.Builder newBuilder()
newBuilder(VpnGatewayStatusVpnConnection prototype)
public static VpnGatewayStatusVpnConnection.Builder newBuilder(VpnGatewayStatusVpnConnection prototype)
public static VpnGatewayStatusVpnConnection parseDelimitedFrom(InputStream input)
public static VpnGatewayStatusVpnConnection parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static VpnGatewayStatusVpnConnection parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VpnGatewayStatusVpnConnection parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static VpnGatewayStatusVpnConnection parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VpnGatewayStatusVpnConnection parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VpnGatewayStatusVpnConnection parseFrom(CodedInputStream input)
public static VpnGatewayStatusVpnConnection parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static VpnGatewayStatusVpnConnection parseFrom(InputStream input)
public static VpnGatewayStatusVpnConnection parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static VpnGatewayStatusVpnConnection parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VpnGatewayStatusVpnConnection parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<VpnGatewayStatusVpnConnection> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public VpnGatewayStatusVpnConnection getDefaultInstanceForType()
getParserForType()
public Parser<VpnGatewayStatusVpnConnection> getParserForType()
Overrides
getPeerExternalGateway()
public String getPeerExternalGateway()
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.
optional string peer_external_gateway = 384956173;
Returns |
---|
Type | Description |
String | The peerExternalGateway.
|
getPeerExternalGatewayBytes()
public ByteString getPeerExternalGatewayBytes()
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.
optional string peer_external_gateway = 384956173;
Returns |
---|
Type | Description |
ByteString | The bytes for peerExternalGateway.
|
getPeerGcpGateway()
public String getPeerGcpGateway()
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.
optional string peer_gcp_gateway = 281867452;
Returns |
---|
Type | Description |
String | The peerGcpGateway.
|
getPeerGcpGatewayBytes()
public ByteString getPeerGcpGatewayBytes()
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.
optional string peer_gcp_gateway = 281867452;
Returns |
---|
Type | Description |
ByteString | The bytes for peerGcpGateway.
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getState()
public VpnGatewayStatusHighAvailabilityRequirementState getState()
HighAvailabilityRequirementState for the VPN connection.
optional .google.cloud.compute.v1.VpnGatewayStatusHighAvailabilityRequirementState state = 109757585;
getStateOrBuilder()
public VpnGatewayStatusHighAvailabilityRequirementStateOrBuilder getStateOrBuilder()
HighAvailabilityRequirementState for the VPN connection.
optional .google.cloud.compute.v1.VpnGatewayStatusHighAvailabilityRequirementState state = 109757585;
getTunnels(int index)
public VpnGatewayStatusTunnel getTunnels(int index)
List of VPN tunnels that are in this VPN connection.
repeated .google.cloud.compute.v1.VpnGatewayStatusTunnel tunnels = 104561931;
Parameter |
---|
Name | Description |
index | int
|
getTunnelsCount()
public int getTunnelsCount()
List of VPN tunnels that are in this VPN connection.
repeated .google.cloud.compute.v1.VpnGatewayStatusTunnel tunnels = 104561931;
Returns |
---|
Type | Description |
int | |
getTunnelsList()
public List<VpnGatewayStatusTunnel> getTunnelsList()
List of VPN tunnels that are in this VPN connection.
repeated .google.cloud.compute.v1.VpnGatewayStatusTunnel tunnels = 104561931;
getTunnelsOrBuilder(int index)
public VpnGatewayStatusTunnelOrBuilder getTunnelsOrBuilder(int index)
List of VPN tunnels that are in this VPN connection.
repeated .google.cloud.compute.v1.VpnGatewayStatusTunnel tunnels = 104561931;
Parameter |
---|
Name | Description |
index | int
|
getTunnelsOrBuilderList()
public List<? extends VpnGatewayStatusTunnelOrBuilder> getTunnelsOrBuilderList()
List of VPN tunnels that are in this VPN connection.
repeated .google.cloud.compute.v1.VpnGatewayStatusTunnel tunnels = 104561931;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.compute.v1.VpnGatewayStatusTunnelOrBuilder> | |
hasPeerExternalGateway()
public boolean hasPeerExternalGateway()
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.
optional string peer_external_gateway = 384956173;
Returns |
---|
Type | Description |
boolean | Whether the peerExternalGateway field is set.
|
hasPeerGcpGateway()
public boolean hasPeerGcpGateway()
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.
optional string peer_gcp_gateway = 281867452;
Returns |
---|
Type | Description |
boolean | Whether the peerGcpGateway field is set.
|
hasState()
public boolean hasState()
HighAvailabilityRequirementState for the VPN connection.
optional .google.cloud.compute.v1.VpnGatewayStatusHighAvailabilityRequirementState state = 109757585;
Returns |
---|
Type | Description |
boolean | Whether the state field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public VpnGatewayStatusVpnConnection.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected VpnGatewayStatusVpnConnection.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public VpnGatewayStatusVpnConnection.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides