public final class VpnGatewayStatusVpnConnection extends GeneratedMessage implements VpnGatewayStatusVpnConnectionOrBuilder
A VPN connection contains all VPN tunnels connected from this VpnGateway
to the same peer gateway. The peer gateway could either be an external VPN
gateway or a Google Cloud VPN gateway.
Protobuf type google.cloud.compute.v1.VpnGatewayStatusVpnConnection
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
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()
Output only. 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()
Output only. 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()
Output only. 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()
Output only. 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()
Output only. 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()
Output only. 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public VpnGatewayStatusVpnConnection.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected VpnGatewayStatusVpnConnection.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public VpnGatewayStatusVpnConnection.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides