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.Builder
addAllTunnels(Iterable<? extends VpnGatewayStatusTunnel> values)
List of VPN tunnels that are in this VPN connection.VpnGatewayStatusVpnConnection.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
VpnGatewayStatusVpnConnection.Builder
addTunnels(int index, VpnGatewayStatusTunnel value)
List of VPN tunnels that are in this VPN connection.VpnGatewayStatusVpnConnection.Builder
addTunnels(int index, VpnGatewayStatusTunnel.Builder builderForValue)
List of VPN tunnels that are in this VPN connection.VpnGatewayStatusVpnConnection.Builder
addTunnels(VpnGatewayStatusTunnel value)
List of VPN tunnels that are in this VPN connection.VpnGatewayStatusVpnConnection.Builder
addTunnels(VpnGatewayStatusTunnel.Builder builderForValue)
List of VPN tunnels that are in this VPN connection.VpnGatewayStatusTunnel.Builder
addTunnelsBuilder()
List of VPN tunnels that are in this VPN connection.VpnGatewayStatusTunnel.Builder
addTunnelsBuilder(int index)
List of VPN tunnels that are in this VPN connection.VpnGatewayStatusVpnConnection
build()
VpnGatewayStatusVpnConnection
buildPartial()
VpnGatewayStatusVpnConnection.Builder
clear()
VpnGatewayStatusVpnConnection.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
VpnGatewayStatusVpnConnection.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
VpnGatewayStatusVpnConnection.Builder
clearPeerExternalGateway()
URL reference to the peer external VPN gateways to which the VPN tunnels in this VPN connection are connected.VpnGatewayStatusVpnConnection.Builder
clearPeerGcpGateway()
URL reference to the peer side VPN gateways to which the VPN tunnels in this VPN connection are connected.VpnGatewayStatusVpnConnection.Builder
clearState()
HighAvailabilityRequirementState for the VPN connection.VpnGatewayStatusVpnConnection.Builder
clearTunnels()
List of VPN tunnels that are in this VPN connection.VpnGatewayStatusVpnConnection.Builder
clone()
VpnGatewayStatusVpnConnection
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getPeerExternalGateway()
URL reference to the peer external VPN gateways to which the VPN tunnels in this VPN connection are connected.com.google.protobuf.ByteString
getPeerExternalGatewayBytes()
URL reference to the peer external VPN gateways to which the VPN tunnels in this VPN connection are connected.String
getPeerGcpGateway()
URL reference to the peer side VPN gateways to which the VPN tunnels in this VPN connection are connected.com.google.protobuf.ByteString
getPeerGcpGatewayBytes()
URL reference to the peer side VPN gateways to which the VPN tunnels in this VPN connection are connected.VpnGatewayStatusHighAvailabilityRequirementState
getState()
HighAvailabilityRequirementState for the VPN connection.VpnGatewayStatusHighAvailabilityRequirementState.Builder
getStateBuilder()
HighAvailabilityRequirementState for the VPN connection.VpnGatewayStatusHighAvailabilityRequirementStateOrBuilder
getStateOrBuilder()
HighAvailabilityRequirementState for the VPN connection.VpnGatewayStatusTunnel
getTunnels(int index)
List of VPN tunnels that are in this VPN connection.VpnGatewayStatusTunnel.Builder
getTunnelsBuilder(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.int
getTunnelsCount()
List of VPN tunnels that are in this VPN connection.List<VpnGatewayStatusTunnel>
getTunnelsList()
List of VPN tunnels that are in this VPN connection.VpnGatewayStatusTunnelOrBuilder
getTunnelsOrBuilder(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.boolean
hasPeerExternalGateway()
URL reference to the peer external VPN gateways to which the VPN tunnels in this VPN connection are connected.boolean
hasPeerGcpGateway()
URL reference to the peer side VPN gateways to which the VPN tunnels in this VPN connection are connected.boolean
hasState()
HighAvailabilityRequirementState for the VPN connection.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
VpnGatewayStatusVpnConnection.Builder
mergeFrom(VpnGatewayStatusVpnConnection other)
VpnGatewayStatusVpnConnection.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
VpnGatewayStatusVpnConnection.Builder
mergeFrom(com.google.protobuf.Message other)
VpnGatewayStatusVpnConnection.Builder
mergeState(VpnGatewayStatusHighAvailabilityRequirementState value)
HighAvailabilityRequirementState for the VPN connection.VpnGatewayStatusVpnConnection.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
VpnGatewayStatusVpnConnection.Builder
removeTunnels(int index)
List of VPN tunnels that are in this VPN connection.VpnGatewayStatusVpnConnection.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
VpnGatewayStatusVpnConnection.Builder
setPeerExternalGateway(String value)
URL reference to the peer external VPN gateways to which the VPN tunnels in this VPN connection are connected.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.VpnGatewayStatusVpnConnection.Builder
setPeerGcpGateway(String value)
URL reference to the peer side VPN gateways to which the VPN tunnels in this VPN connection are connected.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.VpnGatewayStatusVpnConnection.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
VpnGatewayStatusVpnConnection.Builder
setState(VpnGatewayStatusHighAvailabilityRequirementState value)
HighAvailabilityRequirementState for the VPN connection.VpnGatewayStatusVpnConnection.Builder
setState(VpnGatewayStatusHighAvailabilityRequirementState.Builder builderForValue)
HighAvailabilityRequirementState for the VPN connection.VpnGatewayStatusVpnConnection.Builder
setTunnels(int index, VpnGatewayStatusTunnel value)
List of VPN tunnels that are in this VPN connection.VpnGatewayStatusVpnConnection.Builder
setTunnels(int index, VpnGatewayStatusTunnel.Builder builderForValue)
List of VPN tunnels that are in this VPN connection.VpnGatewayStatusVpnConnection.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusVpnConnection.Builder>
-
clear
public VpnGatewayStatusVpnConnection.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusVpnConnection.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusVpnConnection.Builder>
-
getDefaultInstanceForType
public VpnGatewayStatusVpnConnection getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public VpnGatewayStatusVpnConnection build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public VpnGatewayStatusVpnConnection buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public VpnGatewayStatusVpnConnection.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusVpnConnection.Builder>
-
setField
public VpnGatewayStatusVpnConnection.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusVpnConnection.Builder>
-
clearField
public VpnGatewayStatusVpnConnection.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusVpnConnection.Builder>
-
clearOneof
public VpnGatewayStatusVpnConnection.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusVpnConnection.Builder>
-
setRepeatedField
public VpnGatewayStatusVpnConnection.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusVpnConnection.Builder>
-
addRepeatedField
public VpnGatewayStatusVpnConnection.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusVpnConnection.Builder>
-
mergeFrom
public VpnGatewayStatusVpnConnection.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<VpnGatewayStatusVpnConnection.Builder>
-
mergeFrom
public VpnGatewayStatusVpnConnection.Builder mergeFrom(VpnGatewayStatusVpnConnection other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasPeerExternalGateway
in 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:
getPeerExternalGateway
in 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:
getPeerExternalGatewayBytes
in 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:
hasPeerGcpGateway
in 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:
getPeerGcpGateway
in 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:
getPeerGcpGatewayBytes
in 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:
hasState
in 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:
getState
in 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:
getStateOrBuilder
in 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:
getTunnelsList
in 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:
getTunnelsCount
in 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:
getTunnels
in 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:
getTunnelsOrBuilder
in 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:
getTunnelsOrBuilderList
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusVpnConnection.Builder>
-
mergeUnknownFields
public final VpnGatewayStatusVpnConnection.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusVpnConnection.Builder>
-
-