Package com.google.cloud.compute.v1
Class VpnGatewayStatusVpnConnection.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusVpnConnection.Builder>
-
- com.google.cloud.compute.v1.VpnGatewayStatusVpnConnection.Builder
-
- All Implemented Interfaces:
VpnGatewayStatusVpnConnectionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- VpnGatewayStatusVpnConnection
public static final class VpnGatewayStatusVpnConnection.Builder extends com.google.protobuf.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 typegoogle.cloud.compute.v1.VpnGatewayStatusVpnConnection
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VpnGatewayStatusVpnConnection.BuilderaddAllTunnels(Iterable<? extends VpnGatewayStatusTunnel> values)List of VPN tunnels that are in this VPN connection.VpnGatewayStatusVpnConnection.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)VpnGatewayStatusVpnConnection.BuilderaddTunnels(int index, VpnGatewayStatusTunnel value)List of VPN tunnels that are in this VPN connection.VpnGatewayStatusVpnConnection.BuilderaddTunnels(int index, VpnGatewayStatusTunnel.Builder builderForValue)List of VPN tunnels that are in this VPN connection.VpnGatewayStatusVpnConnection.BuilderaddTunnels(VpnGatewayStatusTunnel value)List of VPN tunnels that are in this VPN connection.VpnGatewayStatusVpnConnection.BuilderaddTunnels(VpnGatewayStatusTunnel.Builder builderForValue)List of VPN tunnels that are in this VPN connection.VpnGatewayStatusTunnel.BuilderaddTunnelsBuilder()List of VPN tunnels that are in this VPN connection.VpnGatewayStatusTunnel.BuilderaddTunnelsBuilder(int index)List of VPN tunnels that are in this VPN connection.VpnGatewayStatusVpnConnectionbuild()VpnGatewayStatusVpnConnectionbuildPartial()VpnGatewayStatusVpnConnection.Builderclear()VpnGatewayStatusVpnConnection.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)VpnGatewayStatusVpnConnection.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)VpnGatewayStatusVpnConnection.BuilderclearPeerExternalGateway()URL reference to the peer external VPN gateways to which the VPN tunnels in this VPN connection are connected.VpnGatewayStatusVpnConnection.BuilderclearPeerGcpGateway()URL reference to the peer side VPN gateways to which the VPN tunnels in this VPN connection are connected.VpnGatewayStatusVpnConnection.BuilderclearState()HighAvailabilityRequirementState for the VPN connection.VpnGatewayStatusVpnConnection.BuilderclearTunnels()List of VPN tunnels that are in this VPN connection.VpnGatewayStatusVpnConnection.Builderclone()VpnGatewayStatusVpnConnectiongetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetPeerExternalGateway()URL reference to the peer external VPN gateways to which the VPN tunnels in this VPN connection are connected.com.google.protobuf.ByteStringgetPeerExternalGatewayBytes()URL reference to the peer external VPN gateways to which the VPN tunnels in this VPN connection are connected.StringgetPeerGcpGateway()URL reference to the peer side VPN gateways to which the VPN tunnels in this VPN connection are connected.com.google.protobuf.ByteStringgetPeerGcpGatewayBytes()URL reference to the peer side VPN gateways to which the VPN tunnels in this VPN connection are connected.VpnGatewayStatusHighAvailabilityRequirementStategetState()HighAvailabilityRequirementState for the VPN connection.VpnGatewayStatusHighAvailabilityRequirementState.BuildergetStateBuilder()HighAvailabilityRequirementState for the VPN connection.VpnGatewayStatusHighAvailabilityRequirementStateOrBuildergetStateOrBuilder()HighAvailabilityRequirementState for the VPN connection.VpnGatewayStatusTunnelgetTunnels(int index)List of VPN tunnels that are in this VPN connection.VpnGatewayStatusTunnel.BuildergetTunnelsBuilder(int index)List of VPN tunnels that are in this VPN connection.List<VpnGatewayStatusTunnel.Builder>getTunnelsBuilderList()List of VPN tunnels that are in this VPN connection.intgetTunnelsCount()List of VPN tunnels that are in this VPN connection.List<VpnGatewayStatusTunnel>getTunnelsList()List of VPN tunnels that are in this VPN connection.VpnGatewayStatusTunnelOrBuildergetTunnelsOrBuilder(int index)List of VPN tunnels that are in this VPN connection.List<? extends VpnGatewayStatusTunnelOrBuilder>getTunnelsOrBuilderList()List of VPN tunnels that are in this VPN connection.booleanhasPeerExternalGateway()URL reference to the peer external VPN gateways to which the VPN tunnels in this VPN connection are connected.booleanhasPeerGcpGateway()URL reference to the peer side VPN gateways to which the VPN tunnels in this VPN connection are connected.booleanhasState()HighAvailabilityRequirementState for the VPN connection.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()VpnGatewayStatusVpnConnection.BuildermergeFrom(VpnGatewayStatusVpnConnection other)VpnGatewayStatusVpnConnection.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)VpnGatewayStatusVpnConnection.BuildermergeFrom(com.google.protobuf.Message other)VpnGatewayStatusVpnConnection.BuildermergeState(VpnGatewayStatusHighAvailabilityRequirementState value)HighAvailabilityRequirementState for the VPN connection.VpnGatewayStatusVpnConnection.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)VpnGatewayStatusVpnConnection.BuilderremoveTunnels(int index)List of VPN tunnels that are in this VPN connection.VpnGatewayStatusVpnConnection.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)VpnGatewayStatusVpnConnection.BuildersetPeerExternalGateway(String value)URL reference to the peer external VPN gateways to which the VPN tunnels in this VPN connection are connected.VpnGatewayStatusVpnConnection.BuildersetPeerExternalGatewayBytes(com.google.protobuf.ByteString value)URL reference to the peer external VPN gateways to which the VPN tunnels in this VPN connection are connected.VpnGatewayStatusVpnConnection.BuildersetPeerGcpGateway(String value)URL reference to the peer side VPN gateways to which the VPN tunnels in this VPN connection are connected.VpnGatewayStatusVpnConnection.BuildersetPeerGcpGatewayBytes(com.google.protobuf.ByteString value)URL reference to the peer side VPN gateways to which the VPN tunnels in this VPN connection are connected.VpnGatewayStatusVpnConnection.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)VpnGatewayStatusVpnConnection.BuildersetState(VpnGatewayStatusHighAvailabilityRequirementState value)HighAvailabilityRequirementState for the VPN connection.VpnGatewayStatusVpnConnection.BuildersetState(VpnGatewayStatusHighAvailabilityRequirementState.Builder builderForValue)HighAvailabilityRequirementState for the VPN connection.VpnGatewayStatusVpnConnection.BuildersetTunnels(int index, VpnGatewayStatusTunnel value)List of VPN tunnels that are in this VPN connection.VpnGatewayStatusVpnConnection.BuildersetTunnels(int index, VpnGatewayStatusTunnel.Builder builderForValue)List of VPN tunnels that are in this VPN connection.VpnGatewayStatusVpnConnection.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusVpnConnection.Builder>
-
clear
public VpnGatewayStatusVpnConnection.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusVpnConnection.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusVpnConnection.Builder>
-
getDefaultInstanceForType
public VpnGatewayStatusVpnConnection getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public VpnGatewayStatusVpnConnection build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public VpnGatewayStatusVpnConnection buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public VpnGatewayStatusVpnConnection.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusVpnConnection.Builder>
-
setField
public VpnGatewayStatusVpnConnection.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusVpnConnection.Builder>
-
clearField
public VpnGatewayStatusVpnConnection.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusVpnConnection.Builder>
-
clearOneof
public VpnGatewayStatusVpnConnection.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusVpnConnection.Builder>
-
setRepeatedField
public VpnGatewayStatusVpnConnection.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusVpnConnection.Builder>
-
addRepeatedField
public VpnGatewayStatusVpnConnection.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusVpnConnection.Builder>
-
mergeFrom
public VpnGatewayStatusVpnConnection.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VpnGatewayStatusVpnConnection.Builder>
-
mergeFrom
public VpnGatewayStatusVpnConnection.Builder mergeFrom(VpnGatewayStatusVpnConnection other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusVpnConnection.Builder>
-
mergeFrom
public VpnGatewayStatusVpnConnection.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VpnGatewayStatusVpnConnection.Builder>- Throws:
IOException
-
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;- Specified by:
hasPeerExternalGatewayin interfaceVpnGatewayStatusVpnConnectionOrBuilder- Returns:
- Whether the peerExternalGateway field is set.
-
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;- Specified by:
getPeerExternalGatewayin interfaceVpnGatewayStatusVpnConnectionOrBuilder- Returns:
- The peerExternalGateway.
-
getPeerExternalGatewayBytes
public com.google.protobuf.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;- Specified by:
getPeerExternalGatewayBytesin interfaceVpnGatewayStatusVpnConnectionOrBuilder- Returns:
- The bytes for peerExternalGateway.
-
setPeerExternalGateway
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;- Parameters:
value- The peerExternalGateway to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setPeerExternalGatewayBytes
public VpnGatewayStatusVpnConnection.Builder setPeerExternalGatewayBytes(com.google.protobuf.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;- Parameters:
value- The bytes for peerExternalGateway to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
hasPeerGcpGatewayin interfaceVpnGatewayStatusVpnConnectionOrBuilder- Returns:
- Whether the peerGcpGateway field is set.
-
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;- Specified by:
getPeerGcpGatewayin interfaceVpnGatewayStatusVpnConnectionOrBuilder- Returns:
- The peerGcpGateway.
-
getPeerGcpGatewayBytes
public com.google.protobuf.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;- Specified by:
getPeerGcpGatewayBytesin interfaceVpnGatewayStatusVpnConnectionOrBuilder- Returns:
- The bytes for peerGcpGateway.
-
setPeerGcpGateway
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;- Parameters:
value- The peerGcpGateway to set.- Returns:
- 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:
- This builder for chaining.
-
setPeerGcpGatewayBytes
public VpnGatewayStatusVpnConnection.Builder setPeerGcpGatewayBytes(com.google.protobuf.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;- Parameters:
value- The bytes for peerGcpGateway to set.- Returns:
- This builder for chaining.
-
hasState
public boolean hasState()
HighAvailabilityRequirementState for the VPN connection.
optional .google.cloud.compute.v1.VpnGatewayStatusHighAvailabilityRequirementState state = 109757585;- Specified by:
hasStatein interfaceVpnGatewayStatusVpnConnectionOrBuilder- Returns:
- Whether the state field is set.
-
getState
public VpnGatewayStatusHighAvailabilityRequirementState getState()
HighAvailabilityRequirementState for the VPN connection.
optional .google.cloud.compute.v1.VpnGatewayStatusHighAvailabilityRequirementState state = 109757585;- Specified by:
getStatein interfaceVpnGatewayStatusVpnConnectionOrBuilder- Returns:
- The state.
-
setState
public VpnGatewayStatusVpnConnection.Builder setState(VpnGatewayStatusHighAvailabilityRequirementState value)
HighAvailabilityRequirementState for the VPN connection.
optional .google.cloud.compute.v1.VpnGatewayStatusHighAvailabilityRequirementState state = 109757585;
-
setState
public VpnGatewayStatusVpnConnection.Builder setState(VpnGatewayStatusHighAvailabilityRequirementState.Builder builderForValue)
HighAvailabilityRequirementState for the VPN connection.
optional .google.cloud.compute.v1.VpnGatewayStatusHighAvailabilityRequirementState state = 109757585;
-
mergeState
public VpnGatewayStatusVpnConnection.Builder mergeState(VpnGatewayStatusHighAvailabilityRequirementState value)
HighAvailabilityRequirementState for the VPN connection.
optional .google.cloud.compute.v1.VpnGatewayStatusHighAvailabilityRequirementState state = 109757585;
-
clearState
public VpnGatewayStatusVpnConnection.Builder clearState()
HighAvailabilityRequirementState for the VPN connection.
optional .google.cloud.compute.v1.VpnGatewayStatusHighAvailabilityRequirementState state = 109757585;
-
getStateBuilder
public VpnGatewayStatusHighAvailabilityRequirementState.Builder getStateBuilder()
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;- Specified by:
getStateOrBuilderin interfaceVpnGatewayStatusVpnConnectionOrBuilder
-
getTunnelsList
public List<VpnGatewayStatusTunnel> getTunnelsList()
List of VPN tunnels that are in this VPN connection.
repeated .google.cloud.compute.v1.VpnGatewayStatusTunnel tunnels = 104561931;- Specified by:
getTunnelsListin interfaceVpnGatewayStatusVpnConnectionOrBuilder
-
getTunnelsCount
public int getTunnelsCount()
List of VPN tunnels that are in this VPN connection.
repeated .google.cloud.compute.v1.VpnGatewayStatusTunnel tunnels = 104561931;- Specified by:
getTunnelsCountin interfaceVpnGatewayStatusVpnConnectionOrBuilder
-
getTunnels
public VpnGatewayStatusTunnel getTunnels(int index)
List of VPN tunnels that are in this VPN connection.
repeated .google.cloud.compute.v1.VpnGatewayStatusTunnel tunnels = 104561931;- Specified by:
getTunnelsin interfaceVpnGatewayStatusVpnConnectionOrBuilder
-
setTunnels
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;
-
setTunnels
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;
-
addTunnels
public VpnGatewayStatusVpnConnection.Builder addTunnels(VpnGatewayStatusTunnel value)
List of VPN tunnels that are in this VPN connection.
repeated .google.cloud.compute.v1.VpnGatewayStatusTunnel tunnels = 104561931;
-
addTunnels
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;
-
addTunnels
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;
-
addTunnels
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;
-
addAllTunnels
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;
-
clearTunnels
public VpnGatewayStatusVpnConnection.Builder clearTunnels()
List of VPN tunnels that are in this VPN connection.
repeated .google.cloud.compute.v1.VpnGatewayStatusTunnel tunnels = 104561931;
-
removeTunnels
public VpnGatewayStatusVpnConnection.Builder removeTunnels(int index)
List of VPN tunnels that are in this VPN connection.
repeated .google.cloud.compute.v1.VpnGatewayStatusTunnel tunnels = 104561931;
-
getTunnelsBuilder
public VpnGatewayStatusTunnel.Builder getTunnelsBuilder(int index)
List of VPN tunnels that are in this VPN connection.
repeated .google.cloud.compute.v1.VpnGatewayStatusTunnel tunnels = 104561931;
-
getTunnelsOrBuilder
public VpnGatewayStatusTunnelOrBuilder getTunnelsOrBuilder(int index)
List of VPN tunnels that are in this VPN connection.
repeated .google.cloud.compute.v1.VpnGatewayStatusTunnel tunnels = 104561931;- Specified by:
getTunnelsOrBuilderin interfaceVpnGatewayStatusVpnConnectionOrBuilder
-
getTunnelsOrBuilderList
public List<? extends VpnGatewayStatusTunnelOrBuilder> getTunnelsOrBuilderList()
List of VPN tunnels that are in this VPN connection.
repeated .google.cloud.compute.v1.VpnGatewayStatusTunnel tunnels = 104561931;- Specified by:
getTunnelsOrBuilderListin interfaceVpnGatewayStatusVpnConnectionOrBuilder
-
addTunnelsBuilder
public VpnGatewayStatusTunnel.Builder addTunnelsBuilder()
List of VPN tunnels that are in this VPN connection.
repeated .google.cloud.compute.v1.VpnGatewayStatusTunnel tunnels = 104561931;
-
addTunnelsBuilder
public VpnGatewayStatusTunnel.Builder addTunnelsBuilder(int index)
List of VPN tunnels that are in this VPN connection.
repeated .google.cloud.compute.v1.VpnGatewayStatusTunnel tunnels = 104561931;
-
getTunnelsBuilderList
public List<VpnGatewayStatusTunnel.Builder> getTunnelsBuilderList()
List of VPN tunnels that are in this VPN connection.
repeated .google.cloud.compute.v1.VpnGatewayStatusTunnel tunnels = 104561931;
-
setUnknownFields
public final VpnGatewayStatusVpnConnection.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusVpnConnection.Builder>
-
mergeUnknownFields
public final VpnGatewayStatusVpnConnection.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusVpnConnection.Builder>
-
-