Uses of Class
com.google.cloud.compute.v1.VpnTunnel.Builder
-
Uses of VpnTunnel.Builder in com.google.cloud.compute.v1
Methods in com.google.cloud.compute.v1 that return VpnTunnel.BuilderModifier and TypeMethodDescriptionVpnTunnel.Builder.addAllLocalTrafficSelector(Iterable<String> values) Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway.VpnTunnel.Builder.addAllRemoteTrafficSelector(Iterable<String> values) Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway.VpnTunnelList.Builder.addItemsBuilder()A list of VpnTunnel resources.VpnTunnelList.Builder.addItemsBuilder(int index) A list of VpnTunnel resources.VpnTunnel.Builder.addLocalTrafficSelector(String value) Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway.VpnTunnel.Builder.addLocalTrafficSelectorBytes(com.google.protobuf.ByteString value) Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway.VpnTunnel.Builder.addRemoteTrafficSelector(String value) Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway.VpnTunnel.Builder.addRemoteTrafficSelectorBytes(com.google.protobuf.ByteString value) Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway.VpnTunnelsScopedList.Builder.addVpnTunnelsBuilder()A list of VPN tunnels contained in this scope.VpnTunnelsScopedList.Builder.addVpnTunnelsBuilder(int index) A list of VPN tunnels contained in this scope.VpnTunnel.Builder.clear()VpnTunnel.Builder.clearCipherSuite()User specified list of ciphers to use for the phase 1 and phase 2 of the IKE protocol.VpnTunnel.Builder.clearCreationTimestamp()Output only.VpnTunnel.Builder.clearDescription()An optional description of this resource.VpnTunnel.Builder.clearDetailedStatus()[Output Only] Detailed status message for the VPN tunnel.VpnTunnel.Builder.clearId()[Output Only] The unique identifier for the resource.VpnTunnel.Builder.clearIkeVersion()IKE protocol version to use when establishing the VPN tunnel with the peer VPN gateway.VpnTunnel.Builder.clearKind()Output only.VpnTunnel.Builder.clearLabelFingerprint()A fingerprint for the labels being applied to this VpnTunnel, which is essentially a hash of the labels set used for optimistic locking.VpnTunnel.Builder.clearLabels()VpnTunnel.Builder.clearLocalTrafficSelector()Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway.VpnTunnel.Builder.clearName()Name of the resource.VpnTunnel.Builder.clearParams()Input only.VpnTunnel.Builder.clearPeerExternalGateway()URL of the peer side external VPN gateway to which this VPN tunnel is connected.VpnTunnel.Builder.clearPeerExternalGatewayInterface()The interface ID of the external VPN gateway to which this VPN tunnel is connected.VpnTunnel.Builder.clearPeerGcpGateway()URL of the peer side HA VPN gateway to which this VPN tunnel is connected.VpnTunnel.Builder.clearPeerIp()IP address of the peer VPN gateway.VpnTunnel.Builder.clearRegion()[Output Only] URL of the region where the VPN tunnel resides.VpnTunnel.Builder.clearRemoteTrafficSelector()Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway.VpnTunnel.Builder.clearRouter()URL of the router resource to be used for dynamic routing.VpnTunnel.Builder.clearSelfLink()[Output Only] Server-defined URL for the resource.VpnTunnel.Builder.clearSharedSecret()Shared secret used to set the secure session between the Cloud VPN gateway and the peer VPN gateway.VpnTunnel.Builder.clearSharedSecretHash()Hash of the shared secret.VpnTunnel.Builder.clearStatus()[Output Only] The status of the VPN tunnel, which can be one of the following: - PROVISIONING: Resource is being allocated for the VPN tunnelVpnTunnel.Builder.clearTargetVpnGateway()URL of the Target VPN gateway with which this VPN tunnel is associated.VpnTunnel.Builder.clearVpnGateway()URL of the VPN gateway with which this VPN tunnel is associated.VpnTunnel.Builder.clearVpnGatewayInterface()The interface ID of the VPN gateway with which this VPN tunnel is associated.VpnTunnelList.Builder.getItemsBuilder(int index) A list of VpnTunnel resources.InsertVpnTunnelRequest.Builder.getVpnTunnelResourceBuilder()The body resource for this requestVpnTunnelsScopedList.Builder.getVpnTunnelsBuilder(int index) A list of VPN tunnels contained in this scope.VpnTunnel.Builder.mergeCipherSuite(VpnTunnelCipherSuite value) User specified list of ciphers to use for the phase 1 and phase 2 of the IKE protocol.VpnTunnel.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) VpnTunnel.Builder.mergeFrom(com.google.protobuf.Message other) VpnTunnel.Builder.mergeParams(VpnTunnelParams value) Input only.static VpnTunnel.BuilderVpnTunnel.newBuilder()static VpnTunnel.BuilderVpnTunnel.newBuilder(VpnTunnel prototype) VpnTunnel.newBuilderForType()protected VpnTunnel.BuilderVpnTunnel.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) VpnTunnel.Builder.putAllLabels(Map<String, String> values) Labels for this resource.Labels for this resource.VpnTunnel.Builder.removeLabels(String key) Labels for this resource.VpnTunnel.Builder.setCipherSuite(VpnTunnelCipherSuite value) User specified list of ciphers to use for the phase 1 and phase 2 of the IKE protocol.VpnTunnel.Builder.setCipherSuite(VpnTunnelCipherSuite.Builder builderForValue) User specified list of ciphers to use for the phase 1 and phase 2 of the IKE protocol.VpnTunnel.Builder.setCreationTimestamp(String value) Output only.VpnTunnel.Builder.setCreationTimestampBytes(com.google.protobuf.ByteString value) Output only.VpnTunnel.Builder.setDescription(String value) An optional description of this resource.VpnTunnel.Builder.setDescriptionBytes(com.google.protobuf.ByteString value) An optional description of this resource.VpnTunnel.Builder.setDetailedStatus(String value) [Output Only] Detailed status message for the VPN tunnel.VpnTunnel.Builder.setDetailedStatusBytes(com.google.protobuf.ByteString value) [Output Only] Detailed status message for the VPN tunnel.VpnTunnel.Builder.setId(long value) [Output Only] The unique identifier for the resource.VpnTunnel.Builder.setIkeVersion(int value) IKE protocol version to use when establishing the VPN tunnel with the peer VPN gateway.Output only.VpnTunnel.Builder.setKindBytes(com.google.protobuf.ByteString value) Output only.VpnTunnel.Builder.setLabelFingerprint(String value) A fingerprint for the labels being applied to this VpnTunnel, which is essentially a hash of the labels set used for optimistic locking.VpnTunnel.Builder.setLabelFingerprintBytes(com.google.protobuf.ByteString value) A fingerprint for the labels being applied to this VpnTunnel, which is essentially a hash of the labels set used for optimistic locking.VpnTunnel.Builder.setLocalTrafficSelector(int index, String value) Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway.Name of the resource.VpnTunnel.Builder.setNameBytes(com.google.protobuf.ByteString value) Name of the resource.VpnTunnel.Builder.setParams(VpnTunnelParams value) Input only.VpnTunnel.Builder.setParams(VpnTunnelParams.Builder builderForValue) Input only.VpnTunnel.Builder.setPeerExternalGateway(String value) URL of the peer side external VPN gateway to which this VPN tunnel is connected.VpnTunnel.Builder.setPeerExternalGatewayBytes(com.google.protobuf.ByteString value) URL of the peer side external VPN gateway to which this VPN tunnel is connected.VpnTunnel.Builder.setPeerExternalGatewayInterface(int value) The interface ID of the external VPN gateway to which this VPN tunnel is connected.VpnTunnel.Builder.setPeerGcpGateway(String value) URL of the peer side HA VPN gateway to which this VPN tunnel is connected.VpnTunnel.Builder.setPeerGcpGatewayBytes(com.google.protobuf.ByteString value) URL of the peer side HA VPN gateway to which this VPN tunnel is connected.IP address of the peer VPN gateway.VpnTunnel.Builder.setPeerIpBytes(com.google.protobuf.ByteString value) IP address of the peer VPN gateway.[Output Only] URL of the region where the VPN tunnel resides.VpnTunnel.Builder.setRegionBytes(com.google.protobuf.ByteString value) [Output Only] URL of the region where the VPN tunnel resides.VpnTunnel.Builder.setRemoteTrafficSelector(int index, String value) Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway.URL of the router resource to be used for dynamic routing.VpnTunnel.Builder.setRouterBytes(com.google.protobuf.ByteString value) URL of the router resource to be used for dynamic routing.VpnTunnel.Builder.setSelfLink(String value) [Output Only] Server-defined URL for the resource.VpnTunnel.Builder.setSelfLinkBytes(com.google.protobuf.ByteString value) [Output Only] Server-defined URL for the resource.VpnTunnel.Builder.setSharedSecret(String value) Shared secret used to set the secure session between the Cloud VPN gateway and the peer VPN gateway.VpnTunnel.Builder.setSharedSecretBytes(com.google.protobuf.ByteString value) Shared secret used to set the secure session between the Cloud VPN gateway and the peer VPN gateway.VpnTunnel.Builder.setSharedSecretHash(String value) Hash of the shared secret.VpnTunnel.Builder.setSharedSecretHashBytes(com.google.protobuf.ByteString value) Hash of the shared secret.[Output Only] The status of the VPN tunnel, which can be one of the following: - PROVISIONING: Resource is being allocated for the VPN tunnelVpnTunnel.Builder.setStatusBytes(com.google.protobuf.ByteString value) [Output Only] The status of the VPN tunnel, which can be one of the following: - PROVISIONING: Resource is being allocated for the VPN tunnelVpnTunnel.Builder.setTargetVpnGateway(String value) URL of the Target VPN gateway with which this VPN tunnel is associated.VpnTunnel.Builder.setTargetVpnGatewayBytes(com.google.protobuf.ByteString value) URL of the Target VPN gateway with which this VPN tunnel is associated.VpnTunnel.Builder.setVpnGateway(String value) URL of the VPN gateway with which this VPN tunnel is associated.VpnTunnel.Builder.setVpnGatewayBytes(com.google.protobuf.ByteString value) URL of the VPN gateway with which this VPN tunnel is associated.VpnTunnel.Builder.setVpnGatewayInterface(int value) The interface ID of the VPN gateway with which this VPN tunnel is associated.VpnTunnel.toBuilder()Methods in com.google.cloud.compute.v1 that return types with arguments of type VpnTunnel.BuilderModifier and TypeMethodDescriptionVpnTunnelList.Builder.getItemsBuilderList()A list of VpnTunnel resources.VpnTunnelsScopedList.Builder.getVpnTunnelsBuilderList()A list of VPN tunnels contained in this scope.Methods in com.google.cloud.compute.v1 with parameters of type VpnTunnel.BuilderModifier and TypeMethodDescriptionVpnTunnelList.Builder.addItems(int index, VpnTunnel.Builder builderForValue) A list of VpnTunnel resources.VpnTunnelList.Builder.addItems(VpnTunnel.Builder builderForValue) A list of VpnTunnel resources.VpnTunnelsScopedList.Builder.addVpnTunnels(int index, VpnTunnel.Builder builderForValue) A list of VPN tunnels contained in this scope.VpnTunnelsScopedList.Builder.addVpnTunnels(VpnTunnel.Builder builderForValue) A list of VPN tunnels contained in this scope.VpnTunnelList.Builder.setItems(int index, VpnTunnel.Builder builderForValue) A list of VpnTunnel resources.InsertVpnTunnelRequest.Builder.setVpnTunnelResource(VpnTunnel.Builder builderForValue) The body resource for this requestVpnTunnelsScopedList.Builder.setVpnTunnels(int index, VpnTunnel.Builder builderForValue) A list of VPN tunnels contained in this scope.