- 1.63.0 (latest)
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class VpnGatewayStatusVpnConnection.Builder extends GeneratedMessageV3.Builder<VpnGatewayStatusVpnConnection.Builder> 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > VpnGatewayStatusVpnConnection.BuilderImplements
VpnGatewayStatusVpnConnectionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllTunnels(Iterable<? extends VpnGatewayStatusTunnel> values)
public VpnGatewayStatusVpnConnection.Builder addAllTunnels(Iterable<? extends VpnGatewayStatusTunnel> values)
List of VPN tunnels that are in this VPN connection.
repeated .google.cloud.compute.v1.VpnGatewayStatusTunnel tunnels = 104561931;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.compute.v1.VpnGatewayStatusTunnel> |
Returns | |
---|---|
Type | Description |
VpnGatewayStatusVpnConnection.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VpnGatewayStatusVpnConnection.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
VpnGatewayStatusVpnConnection.Builder |
addTunnels(VpnGatewayStatusTunnel value)
public VpnGatewayStatusVpnConnection.Builder addTunnels(VpnGatewayStatusTunnel value)
List of VPN tunnels that are in this VPN connection.
repeated .google.cloud.compute.v1.VpnGatewayStatusTunnel tunnels = 104561931;
Parameter | |
---|---|
Name | Description |
value |
VpnGatewayStatusTunnel |
Returns | |
---|---|
Type | Description |
VpnGatewayStatusVpnConnection.Builder |
addTunnels(VpnGatewayStatusTunnel.Builder builderForValue)
public VpnGatewayStatusVpnConnection.Builder addTunnels(VpnGatewayStatusTunnel.Builder builderForValue)
List of VPN tunnels that are in this VPN connection.
repeated .google.cloud.compute.v1.VpnGatewayStatusTunnel tunnels = 104561931;
Parameter | |
---|---|
Name | Description |
builderForValue |
VpnGatewayStatusTunnel.Builder |
Returns | |
---|---|
Type | Description |
VpnGatewayStatusVpnConnection.Builder |
addTunnels(int index, VpnGatewayStatusTunnel value)
public VpnGatewayStatusVpnConnection.Builder addTunnels(int index, VpnGatewayStatusTunnel value)
List of VPN tunnels that are in this VPN connection.
repeated .google.cloud.compute.v1.VpnGatewayStatusTunnel tunnels = 104561931;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
VpnGatewayStatusTunnel |
Returns | |
---|---|
Type | Description |
VpnGatewayStatusVpnConnection.Builder |
addTunnels(int index, VpnGatewayStatusTunnel.Builder builderForValue)
public VpnGatewayStatusVpnConnection.Builder addTunnels(int index, VpnGatewayStatusTunnel.Builder builderForValue)
List of VPN tunnels that are in this VPN connection.
repeated .google.cloud.compute.v1.VpnGatewayStatusTunnel tunnels = 104561931;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
VpnGatewayStatusTunnel.Builder |
Returns | |
---|---|
Type | Description |
VpnGatewayStatusVpnConnection.Builder |
addTunnelsBuilder()
public VpnGatewayStatusTunnel.Builder addTunnelsBuilder()
List of VPN tunnels that are in this VPN connection.
repeated .google.cloud.compute.v1.VpnGatewayStatusTunnel tunnels = 104561931;
Returns | |
---|---|
Type | Description |
VpnGatewayStatusTunnel.Builder |
addTunnelsBuilder(int index)
public VpnGatewayStatusTunnel.Builder addTunnelsBuilder(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 |
Returns | |
---|---|
Type | Description |
VpnGatewayStatusTunnel.Builder |
build()
public VpnGatewayStatusVpnConnection build()
Returns | |
---|---|
Type | Description |
VpnGatewayStatusVpnConnection |
buildPartial()
public VpnGatewayStatusVpnConnection buildPartial()
Returns | |
---|---|
Type | Description |
VpnGatewayStatusVpnConnection |
clear()
public VpnGatewayStatusVpnConnection.Builder clear()
Returns | |
---|---|
Type | Description |
VpnGatewayStatusVpnConnection.Builder |
clearField(Descriptors.FieldDescriptor field)
public VpnGatewayStatusVpnConnection.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
VpnGatewayStatusVpnConnection.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public VpnGatewayStatusVpnConnection.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
VpnGatewayStatusVpnConnection.Builder |
clearPeerExternalGateway()
public VpnGatewayStatusVpnConnection.Builder clearPeerExternalGateway()
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 |
VpnGatewayStatusVpnConnection.Builder |
This builder for chaining. |
clearPeerGcpGateway()
public VpnGatewayStatusVpnConnection.Builder clearPeerGcpGateway()
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 |
VpnGatewayStatusVpnConnection.Builder |
This builder for chaining. |
clearState()
public VpnGatewayStatusVpnConnection.Builder clearState()
HighAvailabilityRequirementState for the VPN connection.
optional .google.cloud.compute.v1.VpnGatewayStatusHighAvailabilityRequirementState state = 109757585;
Returns | |
---|---|
Type | Description |
VpnGatewayStatusVpnConnection.Builder |
clearTunnels()
public VpnGatewayStatusVpnConnection.Builder clearTunnels()
List of VPN tunnels that are in this VPN connection.
repeated .google.cloud.compute.v1.VpnGatewayStatusTunnel tunnels = 104561931;
Returns | |
---|---|
Type | Description |
VpnGatewayStatusVpnConnection.Builder |
clone()
public VpnGatewayStatusVpnConnection.Builder clone()
Returns | |
---|---|
Type | Description |
VpnGatewayStatusVpnConnection.Builder |
getDefaultInstanceForType()
public VpnGatewayStatusVpnConnection getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
VpnGatewayStatusVpnConnection |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
getState()
public VpnGatewayStatusHighAvailabilityRequirementState getState()
HighAvailabilityRequirementState for the VPN connection.
optional .google.cloud.compute.v1.VpnGatewayStatusHighAvailabilityRequirementState state = 109757585;
Returns | |
---|---|
Type | Description |
VpnGatewayStatusHighAvailabilityRequirementState |
The state. |
getStateBuilder()
public VpnGatewayStatusHighAvailabilityRequirementState.Builder getStateBuilder()
HighAvailabilityRequirementState for the VPN connection.
optional .google.cloud.compute.v1.VpnGatewayStatusHighAvailabilityRequirementState state = 109757585;
Returns | |
---|---|
Type | Description |
VpnGatewayStatusHighAvailabilityRequirementState.Builder |
getStateOrBuilder()
public VpnGatewayStatusHighAvailabilityRequirementStateOrBuilder getStateOrBuilder()
HighAvailabilityRequirementState for the VPN connection.
optional .google.cloud.compute.v1.VpnGatewayStatusHighAvailabilityRequirementState state = 109757585;
Returns | |
---|---|
Type | Description |
VpnGatewayStatusHighAvailabilityRequirementStateOrBuilder |
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 |
Returns | |
---|---|
Type | Description |
VpnGatewayStatusTunnel |
getTunnelsBuilder(int index)
public VpnGatewayStatusTunnel.Builder getTunnelsBuilder(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 |
Returns | |
---|---|
Type | Description |
VpnGatewayStatusTunnel.Builder |
getTunnelsBuilderList()
public List<VpnGatewayStatusTunnel.Builder> getTunnelsBuilderList()
List of VPN tunnels that are in this VPN connection.
repeated .google.cloud.compute.v1.VpnGatewayStatusTunnel tunnels = 104561931;
Returns | |
---|---|
Type | Description |
List<Builder> |
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;
Returns | |
---|---|
Type | Description |
List<VpnGatewayStatusTunnel> |
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 |
Returns | |
---|---|
Type | Description |
VpnGatewayStatusTunnelOrBuilder |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(VpnGatewayStatusVpnConnection other)
public VpnGatewayStatusVpnConnection.Builder mergeFrom(VpnGatewayStatusVpnConnection other)
Parameter | |
---|---|
Name | Description |
other |
VpnGatewayStatusVpnConnection |
Returns | |
---|---|
Type | Description |
VpnGatewayStatusVpnConnection.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VpnGatewayStatusVpnConnection.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
VpnGatewayStatusVpnConnection.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public VpnGatewayStatusVpnConnection.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
VpnGatewayStatusVpnConnection.Builder |
mergeState(VpnGatewayStatusHighAvailabilityRequirementState value)
public VpnGatewayStatusVpnConnection.Builder mergeState(VpnGatewayStatusHighAvailabilityRequirementState value)
HighAvailabilityRequirementState for the VPN connection.
optional .google.cloud.compute.v1.VpnGatewayStatusHighAvailabilityRequirementState state = 109757585;
Parameter | |
---|---|
Name | Description |
value |
VpnGatewayStatusHighAvailabilityRequirementState |
Returns | |
---|---|
Type | Description |
VpnGatewayStatusVpnConnection.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VpnGatewayStatusVpnConnection.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
VpnGatewayStatusVpnConnection.Builder |
removeTunnels(int index)
public VpnGatewayStatusVpnConnection.Builder removeTunnels(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 |
Returns | |
---|---|
Type | Description |
VpnGatewayStatusVpnConnection.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public VpnGatewayStatusVpnConnection.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
VpnGatewayStatusVpnConnection.Builder |
setPeerExternalGateway(String value)
public VpnGatewayStatusVpnConnection.Builder setPeerExternalGateway(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The peerExternalGateway to set. |
Returns | |
---|---|
Type | Description |
VpnGatewayStatusVpnConnection.Builder |
This builder for chaining. |
setPeerExternalGatewayBytes(ByteString value)
public VpnGatewayStatusVpnConnection.Builder setPeerExternalGatewayBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for peerExternalGateway to set. |
Returns | |
---|---|
Type | Description |
VpnGatewayStatusVpnConnection.Builder |
This builder for chaining. |
setPeerGcpGateway(String value)
public VpnGatewayStatusVpnConnection.Builder setPeerGcpGateway(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The peerGcpGateway to set. |
Returns | |
---|---|
Type | Description |
VpnGatewayStatusVpnConnection.Builder |
This builder for chaining. |
setPeerGcpGatewayBytes(ByteString value)
public VpnGatewayStatusVpnConnection.Builder setPeerGcpGatewayBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for peerGcpGateway to set. |
Returns | |
---|---|
Type | Description |
VpnGatewayStatusVpnConnection.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VpnGatewayStatusVpnConnection.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
VpnGatewayStatusVpnConnection.Builder |
setState(VpnGatewayStatusHighAvailabilityRequirementState value)
public VpnGatewayStatusVpnConnection.Builder setState(VpnGatewayStatusHighAvailabilityRequirementState value)
HighAvailabilityRequirementState for the VPN connection.
optional .google.cloud.compute.v1.VpnGatewayStatusHighAvailabilityRequirementState state = 109757585;
Parameter | |
---|---|
Name | Description |
value |
VpnGatewayStatusHighAvailabilityRequirementState |
Returns | |
---|---|
Type | Description |
VpnGatewayStatusVpnConnection.Builder |
setState(VpnGatewayStatusHighAvailabilityRequirementState.Builder builderForValue)
public VpnGatewayStatusVpnConnection.Builder setState(VpnGatewayStatusHighAvailabilityRequirementState.Builder builderForValue)
HighAvailabilityRequirementState for the VPN connection.
optional .google.cloud.compute.v1.VpnGatewayStatusHighAvailabilityRequirementState state = 109757585;
Parameter | |
---|---|
Name | Description |
builderForValue |
VpnGatewayStatusHighAvailabilityRequirementState.Builder |
Returns | |
---|---|
Type | Description |
VpnGatewayStatusVpnConnection.Builder |
setTunnels(int index, VpnGatewayStatusTunnel value)
public VpnGatewayStatusVpnConnection.Builder setTunnels(int index, VpnGatewayStatusTunnel value)
List of VPN tunnels that are in this VPN connection.
repeated .google.cloud.compute.v1.VpnGatewayStatusTunnel tunnels = 104561931;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
VpnGatewayStatusTunnel |
Returns | |
---|---|
Type | Description |
VpnGatewayStatusVpnConnection.Builder |
setTunnels(int index, VpnGatewayStatusTunnel.Builder builderForValue)
public VpnGatewayStatusVpnConnection.Builder setTunnels(int index, VpnGatewayStatusTunnel.Builder builderForValue)
List of VPN tunnels that are in this VPN connection.
repeated .google.cloud.compute.v1.VpnGatewayStatusTunnel tunnels = 104561931;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
VpnGatewayStatusTunnel.Builder |
Returns | |
---|---|
Type | Description |
VpnGatewayStatusVpnConnection.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final VpnGatewayStatusVpnConnection.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
VpnGatewayStatusVpnConnection.Builder |