public static final class VpnTunnel.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<VpnTunnel.Builder> implements VpnTunnelOrBuilder
Represents a Cloud VPN Tunnel resource. For more information about VPN, read the the Cloud VPN Overview.Protobuf type
google.cloud.compute.v1.VpnTunnel| Modifier and Type | Method and Description |
|---|---|
VpnTunnel.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.
|
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.
|
VpnTunnel.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
VpnTunnel |
build() |
VpnTunnel |
buildPartial() |
VpnTunnel.Builder |
clear() |
VpnTunnel.Builder |
clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
VpnTunnel.Builder |
clearDescription()
An optional description of this resource.
|
VpnTunnel.Builder |
clearDetailedStatus()
[Output Only] Detailed status message for the VPN tunnel.
|
VpnTunnel.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
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] Type of resource.
|
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 |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
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 GCP 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 tunnel.
|
VpnTunnel.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.
|
VpnTunnel.Builder |
clone() |
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
com.google.protobuf.ByteString |
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
|
VpnTunnel |
getDefaultInstanceForType() |
String |
getDescription()
An optional description of this resource.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
An optional description of this resource.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDetailedStatus()
[Output Only] Detailed status message for the VPN tunnel.
|
com.google.protobuf.ByteString |
getDetailedStatusBytes()
[Output Only] Detailed status message for the VPN tunnel.
|
long |
getId()
[Output Only] The unique identifier for the resource.
|
int |
getIkeVersion()
IKE protocol version to use when establishing the VPN tunnel with the peer VPN gateway.
|
String |
getKind()
[Output Only] Type of resource.
|
com.google.protobuf.ByteString |
getKindBytes()
[Output Only] Type of resource.
|
String |
getLocalTrafficSelector(int index)
Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway.
|
com.google.protobuf.ByteString |
getLocalTrafficSelectorBytes(int index)
Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway.
|
int |
getLocalTrafficSelectorCount()
Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway.
|
com.google.protobuf.ProtocolStringList |
getLocalTrafficSelectorList()
Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway.
|
String |
getName()
Name of the resource.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the resource.
|
String |
getPeerExternalGateway()
URL of the peer side external VPN gateway to which this VPN tunnel is connected.
|
com.google.protobuf.ByteString |
getPeerExternalGatewayBytes()
URL of the peer side external VPN gateway to which this VPN tunnel is connected.
|
int |
getPeerExternalGatewayInterface()
The interface ID of the external VPN gateway to which this VPN tunnel is connected.
|
String |
getPeerGcpGateway()
URL of the peer side HA GCP VPN gateway to which this VPN tunnel is connected.
|
com.google.protobuf.ByteString |
getPeerGcpGatewayBytes()
URL of the peer side HA GCP VPN gateway to which this VPN tunnel is connected.
|
String |
getPeerIp()
IP address of the peer VPN gateway.
|
com.google.protobuf.ByteString |
getPeerIpBytes()
IP address of the peer VPN gateway.
|
String |
getRegion()
[Output Only] URL of the region where the VPN tunnel resides.
|
com.google.protobuf.ByteString |
getRegionBytes()
[Output Only] URL of the region where the VPN tunnel resides.
|
String |
getRemoteTrafficSelector(int index)
Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway.
|
com.google.protobuf.ByteString |
getRemoteTrafficSelectorBytes(int index)
Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway.
|
int |
getRemoteTrafficSelectorCount()
Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway.
|
com.google.protobuf.ProtocolStringList |
getRemoteTrafficSelectorList()
Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway.
|
String |
getRouter()
URL of the router resource to be used for dynamic routing.
|
com.google.protobuf.ByteString |
getRouterBytes()
URL of the router resource to be used for dynamic routing.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
com.google.protobuf.ByteString |
getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
|
String |
getSharedSecret()
Shared secret used to set the secure session between the Cloud VPN gateway and the peer VPN gateway.
|
com.google.protobuf.ByteString |
getSharedSecretBytes()
Shared secret used to set the secure session between the Cloud VPN gateway and the peer VPN gateway.
|
String |
getSharedSecretHash()
Hash of the shared secret.
|
com.google.protobuf.ByteString |
getSharedSecretHashBytes()
Hash of the shared secret.
|
String |
getStatus()
[Output Only] The status of the VPN tunnel, which can be one of the following: - PROVISIONING: Resource is being allocated for the VPN tunnel.
|
com.google.protobuf.ByteString |
getStatusBytes()
[Output Only] The status of the VPN tunnel, which can be one of the following: - PROVISIONING: Resource is being allocated for the VPN tunnel.
|
String |
getTargetVpnGateway()
URL of the Target VPN gateway with which this VPN tunnel is associated.
|
com.google.protobuf.ByteString |
getTargetVpnGatewayBytes()
URL of the Target VPN gateway with which this VPN tunnel is associated.
|
String |
getVpnGateway()
URL of the VPN gateway with which this VPN tunnel is associated.
|
com.google.protobuf.ByteString |
getVpnGatewayBytes()
URL of the VPN gateway with which this VPN tunnel is associated.
|
int |
getVpnGatewayInterface()
The interface ID of the VPN gateway with which this VPN tunnel is associated.
|
boolean |
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
boolean |
hasDescription()
An optional description of this resource.
|
boolean |
hasDetailedStatus()
[Output Only] Detailed status message for the VPN tunnel.
|
boolean |
hasId()
[Output Only] The unique identifier for the resource.
|
boolean |
hasIkeVersion()
IKE protocol version to use when establishing the VPN tunnel with the peer VPN gateway.
|
boolean |
hasKind()
[Output Only] Type of resource.
|
boolean |
hasName()
Name of the resource.
|
boolean |
hasPeerExternalGateway()
URL of the peer side external VPN gateway to which this VPN tunnel is connected.
|
boolean |
hasPeerExternalGatewayInterface()
The interface ID of the external VPN gateway to which this VPN tunnel is connected.
|
boolean |
hasPeerGcpGateway()
URL of the peer side HA GCP VPN gateway to which this VPN tunnel is connected.
|
boolean |
hasPeerIp()
IP address of the peer VPN gateway.
|
boolean |
hasRegion()
[Output Only] URL of the region where the VPN tunnel resides.
|
boolean |
hasRouter()
URL of the router resource to be used for dynamic routing.
|
boolean |
hasSelfLink()
[Output Only] Server-defined URL for the resource.
|
boolean |
hasSharedSecret()
Shared secret used to set the secure session between the Cloud VPN gateway and the peer VPN gateway.
|
boolean |
hasSharedSecretHash()
Hash of the shared secret.
|
boolean |
hasStatus()
[Output Only] The status of the VPN tunnel, which can be one of the following: - PROVISIONING: Resource is being allocated for the VPN tunnel.
|
boolean |
hasTargetVpnGateway()
URL of the Target VPN gateway with which this VPN tunnel is associated.
|
boolean |
hasVpnGateway()
URL of the VPN gateway with which this VPN tunnel is associated.
|
boolean |
hasVpnGatewayInterface()
The interface ID of the VPN gateway with which this VPN tunnel is associated.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
VpnTunnel.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
VpnTunnel.Builder |
mergeFrom(com.google.protobuf.Message other) |
VpnTunnel.Builder |
mergeFrom(VpnTunnel other) |
VpnTunnel.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
VpnTunnel.Builder |
setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
|
VpnTunnel.Builder |
setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
|
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 |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
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.
|
VpnTunnel.Builder |
setKind(String value)
[Output Only] Type of resource.
|
VpnTunnel.Builder |
setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of resource.
|
VpnTunnel.Builder |
setLocalTrafficSelector(int index,
String value)
Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway.
|
VpnTunnel.Builder |
setName(String value)
Name of the resource.
|
VpnTunnel.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Name of the resource.
|
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 GCP VPN gateway to which this VPN tunnel is connected.
|
VpnTunnel.Builder |
setPeerGcpGatewayBytes(com.google.protobuf.ByteString value)
URL of the peer side HA GCP VPN gateway to which this VPN tunnel is connected.
|
VpnTunnel.Builder |
setPeerIp(String value)
IP address of the peer VPN gateway.
|
VpnTunnel.Builder |
setPeerIpBytes(com.google.protobuf.ByteString value)
IP address of the peer VPN gateway.
|
VpnTunnel.Builder |
setRegion(String value)
[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.
|
VpnTunnel.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
VpnTunnel.Builder |
setRouter(String value)
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.
|
VpnTunnel.Builder |
setStatus(String value)
[Output Only] The status of the VPN tunnel, which can be one of the following: - PROVISIONING: Resource is being allocated for the VPN tunnel.
|
VpnTunnel.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 tunnel.
|
VpnTunnel.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 |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<VpnTunnel.Builder>public VpnTunnel.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<VpnTunnel.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<VpnTunnel.Builder>public VpnTunnel getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic VpnTunnel build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic VpnTunnel buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic VpnTunnel.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<VpnTunnel.Builder>public VpnTunnel.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<VpnTunnel.Builder>public VpnTunnel.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<VpnTunnel.Builder>public VpnTunnel.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<VpnTunnel.Builder>public VpnTunnel.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<VpnTunnel.Builder>public VpnTunnel.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<VpnTunnel.Builder>public VpnTunnel.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<VpnTunnel.Builder>public VpnTunnel.Builder mergeFrom(VpnTunnel other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<VpnTunnel.Builder>public VpnTunnel.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<VpnTunnel.Builder>IOExceptionpublic boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;hasCreationTimestamp in interface VpnTunnelOrBuilderpublic String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestamp in interface VpnTunnelOrBuilderpublic com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestampBytes in interface VpnTunnelOrBuilderpublic VpnTunnel.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;value - The creationTimestamp to set.public VpnTunnel.Builder clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;public VpnTunnel.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;value - The bytes for creationTimestamp to set.public boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;hasDescription in interface VpnTunnelOrBuilderpublic String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescription in interface VpnTunnelOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescriptionBytes in interface VpnTunnelOrBuilderpublic VpnTunnel.Builder setDescription(String value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;value - The description to set.public VpnTunnel.Builder clearDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;public VpnTunnel.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;value - The bytes for description to set.public boolean hasDetailedStatus()
[Output Only] Detailed status message for the VPN tunnel.
optional string detailed_status = 333501025;hasDetailedStatus in interface VpnTunnelOrBuilderpublic String getDetailedStatus()
[Output Only] Detailed status message for the VPN tunnel.
optional string detailed_status = 333501025;getDetailedStatus in interface VpnTunnelOrBuilderpublic com.google.protobuf.ByteString getDetailedStatusBytes()
[Output Only] Detailed status message for the VPN tunnel.
optional string detailed_status = 333501025;getDetailedStatusBytes in interface VpnTunnelOrBuilderpublic VpnTunnel.Builder setDetailedStatus(String value)
[Output Only] Detailed status message for the VPN tunnel.
optional string detailed_status = 333501025;value - The detailedStatus to set.public VpnTunnel.Builder clearDetailedStatus()
[Output Only] Detailed status message for the VPN tunnel.
optional string detailed_status = 333501025;public VpnTunnel.Builder setDetailedStatusBytes(com.google.protobuf.ByteString value)
[Output Only] Detailed status message for the VPN tunnel.
optional string detailed_status = 333501025;value - The bytes for detailedStatus to set.public boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;hasId in interface VpnTunnelOrBuilderpublic long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;getId in interface VpnTunnelOrBuilderpublic VpnTunnel.Builder setId(long value)
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;value - The id to set.public VpnTunnel.Builder clearId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;public boolean hasIkeVersion()
IKE protocol version to use when establishing the VPN tunnel with the peer VPN gateway. Acceptable IKE versions are 1 or 2. The default version is 2.
optional int32 ike_version = 218376220;hasIkeVersion in interface VpnTunnelOrBuilderpublic int getIkeVersion()
IKE protocol version to use when establishing the VPN tunnel with the peer VPN gateway. Acceptable IKE versions are 1 or 2. The default version is 2.
optional int32 ike_version = 218376220;getIkeVersion in interface VpnTunnelOrBuilderpublic VpnTunnel.Builder setIkeVersion(int value)
IKE protocol version to use when establishing the VPN tunnel with the peer VPN gateway. Acceptable IKE versions are 1 or 2. The default version is 2.
optional int32 ike_version = 218376220;value - The ikeVersion to set.public VpnTunnel.Builder clearIkeVersion()
IKE protocol version to use when establishing the VPN tunnel with the peer VPN gateway. Acceptable IKE versions are 1 or 2. The default version is 2.
optional int32 ike_version = 218376220;public boolean hasKind()
[Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels.
optional string kind = 3292052;hasKind in interface VpnTunnelOrBuilderpublic String getKind()
[Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels.
optional string kind = 3292052;getKind in interface VpnTunnelOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels.
optional string kind = 3292052;getKindBytes in interface VpnTunnelOrBuilderpublic VpnTunnel.Builder setKind(String value)
[Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels.
optional string kind = 3292052;value - The kind to set.public VpnTunnel.Builder clearKind()
[Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels.
optional string kind = 3292052;public VpnTunnel.Builder setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels.
optional string kind = 3292052;value - The bytes for kind to set.public com.google.protobuf.ProtocolStringList getLocalTrafficSelectorList()
Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges must be disjoint. Only IPv4 is supported.
repeated string local_traffic_selector = 317314613;getLocalTrafficSelectorList in interface VpnTunnelOrBuilderpublic int getLocalTrafficSelectorCount()
Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges must be disjoint. Only IPv4 is supported.
repeated string local_traffic_selector = 317314613;getLocalTrafficSelectorCount in interface VpnTunnelOrBuilderpublic String getLocalTrafficSelector(int index)
Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges must be disjoint. Only IPv4 is supported.
repeated string local_traffic_selector = 317314613;getLocalTrafficSelector in interface VpnTunnelOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getLocalTrafficSelectorBytes(int index)
Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges must be disjoint. Only IPv4 is supported.
repeated string local_traffic_selector = 317314613;getLocalTrafficSelectorBytes in interface VpnTunnelOrBuilderindex - The index of the value to return.public VpnTunnel.Builder setLocalTrafficSelector(int index, String value)
Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges must be disjoint. Only IPv4 is supported.
repeated string local_traffic_selector = 317314613;index - The index to set the value at.value - The localTrafficSelector to set.public VpnTunnel.Builder addLocalTrafficSelector(String value)
Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges must be disjoint. Only IPv4 is supported.
repeated string local_traffic_selector = 317314613;value - The localTrafficSelector to add.public VpnTunnel.Builder addAllLocalTrafficSelector(Iterable<String> values)
Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges must be disjoint. Only IPv4 is supported.
repeated string local_traffic_selector = 317314613;values - The localTrafficSelector to add.public VpnTunnel.Builder clearLocalTrafficSelector()
Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges must be disjoint. Only IPv4 is supported.
repeated string local_traffic_selector = 317314613;public VpnTunnel.Builder addLocalTrafficSelectorBytes(com.google.protobuf.ByteString value)
Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges must be disjoint. Only IPv4 is supported.
repeated string local_traffic_selector = 317314613;value - The bytes of the localTrafficSelector to add.public boolean hasName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;hasName in interface VpnTunnelOrBuilderpublic String getName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;getName in interface VpnTunnelOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;getNameBytes in interface VpnTunnelOrBuilderpublic VpnTunnel.Builder setName(String value)
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;value - The name to set.public VpnTunnel.Builder clearName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;public VpnTunnel.Builder setNameBytes(com.google.protobuf.ByteString value)
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;value - The bytes for name to set.public boolean hasPeerExternalGateway()
URL of the peer side external VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. This field is exclusive with the field peerGcpGateway.
optional string peer_external_gateway = 384956173;hasPeerExternalGateway in interface VpnTunnelOrBuilderpublic String getPeerExternalGateway()
URL of the peer side external VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. This field is exclusive with the field peerGcpGateway.
optional string peer_external_gateway = 384956173;getPeerExternalGateway in interface VpnTunnelOrBuilderpublic com.google.protobuf.ByteString getPeerExternalGatewayBytes()
URL of the peer side external VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. This field is exclusive with the field peerGcpGateway.
optional string peer_external_gateway = 384956173;getPeerExternalGatewayBytes in interface VpnTunnelOrBuilderpublic VpnTunnel.Builder setPeerExternalGateway(String value)
URL of the peer side external VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. This field is exclusive with the field peerGcpGateway.
optional string peer_external_gateway = 384956173;value - The peerExternalGateway to set.public VpnTunnel.Builder clearPeerExternalGateway()
URL of the peer side external VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. This field is exclusive with the field peerGcpGateway.
optional string peer_external_gateway = 384956173;public VpnTunnel.Builder setPeerExternalGatewayBytes(com.google.protobuf.ByteString value)
URL of the peer side external VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. This field is exclusive with the field peerGcpGateway.
optional string peer_external_gateway = 384956173;value - The bytes for peerExternalGateway to set.public boolean hasPeerExternalGatewayInterface()
The interface ID of the external VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. Possible values are: `0`, `1`, `2`, `3`. The number of IDs in use depends on the external VPN gateway redundancy type.
optional int32 peer_external_gateway_interface = 452768391;hasPeerExternalGatewayInterface in interface VpnTunnelOrBuilderpublic int getPeerExternalGatewayInterface()
The interface ID of the external VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. Possible values are: `0`, `1`, `2`, `3`. The number of IDs in use depends on the external VPN gateway redundancy type.
optional int32 peer_external_gateway_interface = 452768391;getPeerExternalGatewayInterface in interface VpnTunnelOrBuilderpublic VpnTunnel.Builder setPeerExternalGatewayInterface(int value)
The interface ID of the external VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. Possible values are: `0`, `1`, `2`, `3`. The number of IDs in use depends on the external VPN gateway redundancy type.
optional int32 peer_external_gateway_interface = 452768391;value - The peerExternalGatewayInterface to set.public VpnTunnel.Builder clearPeerExternalGatewayInterface()
The interface ID of the external VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. Possible values are: `0`, `1`, `2`, `3`. The number of IDs in use depends on the external VPN gateway redundancy type.
optional int32 peer_external_gateway_interface = 452768391;public boolean hasPeerGcpGateway()
URL of the peer side HA GCP VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. This field can be used when creating highly available VPN from VPC network to VPC network, the field is exclusive with the field peerExternalGateway. If provided, the VPN tunnel will automatically use the same vpnGatewayInterface ID in the peer GCP VPN gateway.
optional string peer_gcp_gateway = 281867452;hasPeerGcpGateway in interface VpnTunnelOrBuilderpublic String getPeerGcpGateway()
URL of the peer side HA GCP VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. This field can be used when creating highly available VPN from VPC network to VPC network, the field is exclusive with the field peerExternalGateway. If provided, the VPN tunnel will automatically use the same vpnGatewayInterface ID in the peer GCP VPN gateway.
optional string peer_gcp_gateway = 281867452;getPeerGcpGateway in interface VpnTunnelOrBuilderpublic com.google.protobuf.ByteString getPeerGcpGatewayBytes()
URL of the peer side HA GCP VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. This field can be used when creating highly available VPN from VPC network to VPC network, the field is exclusive with the field peerExternalGateway. If provided, the VPN tunnel will automatically use the same vpnGatewayInterface ID in the peer GCP VPN gateway.
optional string peer_gcp_gateway = 281867452;getPeerGcpGatewayBytes in interface VpnTunnelOrBuilderpublic VpnTunnel.Builder setPeerGcpGateway(String value)
URL of the peer side HA GCP VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. This field can be used when creating highly available VPN from VPC network to VPC network, the field is exclusive with the field peerExternalGateway. If provided, the VPN tunnel will automatically use the same vpnGatewayInterface ID in the peer GCP VPN gateway.
optional string peer_gcp_gateway = 281867452;value - The peerGcpGateway to set.public VpnTunnel.Builder clearPeerGcpGateway()
URL of the peer side HA GCP VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. This field can be used when creating highly available VPN from VPC network to VPC network, the field is exclusive with the field peerExternalGateway. If provided, the VPN tunnel will automatically use the same vpnGatewayInterface ID in the peer GCP VPN gateway.
optional string peer_gcp_gateway = 281867452;public VpnTunnel.Builder setPeerGcpGatewayBytes(com.google.protobuf.ByteString value)
URL of the peer side HA GCP VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. This field can be used when creating highly available VPN from VPC network to VPC network, the field is exclusive with the field peerExternalGateway. If provided, the VPN tunnel will automatically use the same vpnGatewayInterface ID in the peer GCP VPN gateway.
optional string peer_gcp_gateway = 281867452;value - The bytes for peerGcpGateway to set.public boolean hasPeerIp()
IP address of the peer VPN gateway. Only IPv4 is supported.
optional string peer_ip = 383249700;hasPeerIp in interface VpnTunnelOrBuilderpublic String getPeerIp()
IP address of the peer VPN gateway. Only IPv4 is supported.
optional string peer_ip = 383249700;getPeerIp in interface VpnTunnelOrBuilderpublic com.google.protobuf.ByteString getPeerIpBytes()
IP address of the peer VPN gateway. Only IPv4 is supported.
optional string peer_ip = 383249700;getPeerIpBytes in interface VpnTunnelOrBuilderpublic VpnTunnel.Builder setPeerIp(String value)
IP address of the peer VPN gateway. Only IPv4 is supported.
optional string peer_ip = 383249700;value - The peerIp to set.public VpnTunnel.Builder clearPeerIp()
IP address of the peer VPN gateway. Only IPv4 is supported.
optional string peer_ip = 383249700;public VpnTunnel.Builder setPeerIpBytes(com.google.protobuf.ByteString value)
IP address of the peer VPN gateway. Only IPv4 is supported.
optional string peer_ip = 383249700;value - The bytes for peerIp to set.public boolean hasRegion()
[Output Only] URL of the region where the VPN tunnel resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;hasRegion in interface VpnTunnelOrBuilderpublic String getRegion()
[Output Only] URL of the region where the VPN tunnel resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;getRegion in interface VpnTunnelOrBuilderpublic com.google.protobuf.ByteString getRegionBytes()
[Output Only] URL of the region where the VPN tunnel resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;getRegionBytes in interface VpnTunnelOrBuilderpublic VpnTunnel.Builder setRegion(String value)
[Output Only] URL of the region where the VPN tunnel resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;value - The region to set.public VpnTunnel.Builder clearRegion()
[Output Only] URL of the region where the VPN tunnel resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;public VpnTunnel.Builder setRegionBytes(com.google.protobuf.ByteString value)
[Output Only] URL of the region where the VPN tunnel resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;value - The bytes for region to set.public com.google.protobuf.ProtocolStringList getRemoteTrafficSelectorList()
Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be disjoint. Only IPv4 is supported.
repeated string remote_traffic_selector = 358887098;getRemoteTrafficSelectorList in interface VpnTunnelOrBuilderpublic int getRemoteTrafficSelectorCount()
Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be disjoint. Only IPv4 is supported.
repeated string remote_traffic_selector = 358887098;getRemoteTrafficSelectorCount in interface VpnTunnelOrBuilderpublic String getRemoteTrafficSelector(int index)
Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be disjoint. Only IPv4 is supported.
repeated string remote_traffic_selector = 358887098;getRemoteTrafficSelector in interface VpnTunnelOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getRemoteTrafficSelectorBytes(int index)
Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be disjoint. Only IPv4 is supported.
repeated string remote_traffic_selector = 358887098;getRemoteTrafficSelectorBytes in interface VpnTunnelOrBuilderindex - The index of the value to return.public VpnTunnel.Builder setRemoteTrafficSelector(int index, String value)
Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be disjoint. Only IPv4 is supported.
repeated string remote_traffic_selector = 358887098;index - The index to set the value at.value - The remoteTrafficSelector to set.public VpnTunnel.Builder addRemoteTrafficSelector(String value)
Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be disjoint. Only IPv4 is supported.
repeated string remote_traffic_selector = 358887098;value - The remoteTrafficSelector to add.public VpnTunnel.Builder addAllRemoteTrafficSelector(Iterable<String> values)
Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be disjoint. Only IPv4 is supported.
repeated string remote_traffic_selector = 358887098;values - The remoteTrafficSelector to add.public VpnTunnel.Builder clearRemoteTrafficSelector()
Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be disjoint. Only IPv4 is supported.
repeated string remote_traffic_selector = 358887098;public VpnTunnel.Builder addRemoteTrafficSelectorBytes(com.google.protobuf.ByteString value)
Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be disjoint. Only IPv4 is supported.
repeated string remote_traffic_selector = 358887098;value - The bytes of the remoteTrafficSelector to add.public boolean hasRouter()
URL of the router resource to be used for dynamic routing.
optional string router = 148608841;hasRouter in interface VpnTunnelOrBuilderpublic String getRouter()
URL of the router resource to be used for dynamic routing.
optional string router = 148608841;getRouter in interface VpnTunnelOrBuilderpublic com.google.protobuf.ByteString getRouterBytes()
URL of the router resource to be used for dynamic routing.
optional string router = 148608841;getRouterBytes in interface VpnTunnelOrBuilderpublic VpnTunnel.Builder setRouter(String value)
URL of the router resource to be used for dynamic routing.
optional string router = 148608841;value - The router to set.public VpnTunnel.Builder clearRouter()
URL of the router resource to be used for dynamic routing.
optional string router = 148608841;public VpnTunnel.Builder setRouterBytes(com.google.protobuf.ByteString value)
URL of the router resource to be used for dynamic routing.
optional string router = 148608841;value - The bytes for router to set.public boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;hasSelfLink in interface VpnTunnelOrBuilderpublic String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLink in interface VpnTunnelOrBuilderpublic com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLinkBytes in interface VpnTunnelOrBuilderpublic VpnTunnel.Builder setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;value - The selfLink to set.public VpnTunnel.Builder clearSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;public VpnTunnel.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;value - The bytes for selfLink to set.public boolean hasSharedSecret()
Shared secret used to set the secure session between the Cloud VPN gateway and the peer VPN gateway.
optional string shared_secret = 381932490;hasSharedSecret in interface VpnTunnelOrBuilderpublic String getSharedSecret()
Shared secret used to set the secure session between the Cloud VPN gateway and the peer VPN gateway.
optional string shared_secret = 381932490;getSharedSecret in interface VpnTunnelOrBuilderpublic com.google.protobuf.ByteString getSharedSecretBytes()
Shared secret used to set the secure session between the Cloud VPN gateway and the peer VPN gateway.
optional string shared_secret = 381932490;getSharedSecretBytes in interface VpnTunnelOrBuilderpublic VpnTunnel.Builder setSharedSecret(String value)
Shared secret used to set the secure session between the Cloud VPN gateway and the peer VPN gateway.
optional string shared_secret = 381932490;value - The sharedSecret to set.public VpnTunnel.Builder clearSharedSecret()
Shared secret used to set the secure session between the Cloud VPN gateway and the peer VPN gateway.
optional string shared_secret = 381932490;public 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.
optional string shared_secret = 381932490;value - The bytes for sharedSecret to set.public boolean hasSharedSecretHash()
Hash of the shared secret.
optional string shared_secret_hash = 398881891;hasSharedSecretHash in interface VpnTunnelOrBuilderpublic String getSharedSecretHash()
Hash of the shared secret.
optional string shared_secret_hash = 398881891;getSharedSecretHash in interface VpnTunnelOrBuilderpublic com.google.protobuf.ByteString getSharedSecretHashBytes()
Hash of the shared secret.
optional string shared_secret_hash = 398881891;getSharedSecretHashBytes in interface VpnTunnelOrBuilderpublic VpnTunnel.Builder setSharedSecretHash(String value)
Hash of the shared secret.
optional string shared_secret_hash = 398881891;value - The sharedSecretHash to set.public VpnTunnel.Builder clearSharedSecretHash()
Hash of the shared secret.
optional string shared_secret_hash = 398881891;public VpnTunnel.Builder setSharedSecretHashBytes(com.google.protobuf.ByteString value)
Hash of the shared secret.
optional string shared_secret_hash = 398881891;value - The bytes for sharedSecretHash to set.public boolean hasStatus()
[Output Only] The status of the VPN tunnel, which can be one of the following: - PROVISIONING: Resource is being allocated for the VPN tunnel. - WAITING_FOR_FULL_CONFIG: Waiting to receive all VPN-related configs from the user. Network, TargetVpnGateway, VpnTunnel, ForwardingRule, and Route resources are needed to setup the VPN tunnel. - FIRST_HANDSHAKE: Successful first handshake with the peer VPN. - ESTABLISHED: Secure session is successfully established with the peer VPN. - NETWORK_ERROR: Deprecated, replaced by NO_INCOMING_PACKETS - AUTHORIZATION_ERROR: Auth error (for example, bad shared secret). - NEGOTIATION_FAILURE: Handshake failed. - DEPROVISIONING: Resources are being deallocated for the VPN tunnel. - FAILED: Tunnel creation has failed and the tunnel is not ready to be used. - NO_INCOMING_PACKETS: No incoming packets from peer. - REJECTED: Tunnel configuration was rejected, can be result of being denied access. - ALLOCATING_RESOURCES: Cloud VPN is in the process of allocating all required resources. - STOPPED: Tunnel is stopped due to its Forwarding Rules being deleted for Classic VPN tunnels or the project is in frozen state. - PEER_IDENTITY_MISMATCH: Peer identity does not match peer IP, probably behind NAT. - TS_NARROWING_NOT_ALLOWED: Traffic selector narrowing not allowed for an HA-VPN tunnel. Check the Status enum for the list of possible values.
optional string status = 181260274;hasStatus in interface VpnTunnelOrBuilderpublic String getStatus()
[Output Only] The status of the VPN tunnel, which can be one of the following: - PROVISIONING: Resource is being allocated for the VPN tunnel. - WAITING_FOR_FULL_CONFIG: Waiting to receive all VPN-related configs from the user. Network, TargetVpnGateway, VpnTunnel, ForwardingRule, and Route resources are needed to setup the VPN tunnel. - FIRST_HANDSHAKE: Successful first handshake with the peer VPN. - ESTABLISHED: Secure session is successfully established with the peer VPN. - NETWORK_ERROR: Deprecated, replaced by NO_INCOMING_PACKETS - AUTHORIZATION_ERROR: Auth error (for example, bad shared secret). - NEGOTIATION_FAILURE: Handshake failed. - DEPROVISIONING: Resources are being deallocated for the VPN tunnel. - FAILED: Tunnel creation has failed and the tunnel is not ready to be used. - NO_INCOMING_PACKETS: No incoming packets from peer. - REJECTED: Tunnel configuration was rejected, can be result of being denied access. - ALLOCATING_RESOURCES: Cloud VPN is in the process of allocating all required resources. - STOPPED: Tunnel is stopped due to its Forwarding Rules being deleted for Classic VPN tunnels or the project is in frozen state. - PEER_IDENTITY_MISMATCH: Peer identity does not match peer IP, probably behind NAT. - TS_NARROWING_NOT_ALLOWED: Traffic selector narrowing not allowed for an HA-VPN tunnel. Check the Status enum for the list of possible values.
optional string status = 181260274;getStatus in interface VpnTunnelOrBuilderpublic com.google.protobuf.ByteString getStatusBytes()
[Output Only] The status of the VPN tunnel, which can be one of the following: - PROVISIONING: Resource is being allocated for the VPN tunnel. - WAITING_FOR_FULL_CONFIG: Waiting to receive all VPN-related configs from the user. Network, TargetVpnGateway, VpnTunnel, ForwardingRule, and Route resources are needed to setup the VPN tunnel. - FIRST_HANDSHAKE: Successful first handshake with the peer VPN. - ESTABLISHED: Secure session is successfully established with the peer VPN. - NETWORK_ERROR: Deprecated, replaced by NO_INCOMING_PACKETS - AUTHORIZATION_ERROR: Auth error (for example, bad shared secret). - NEGOTIATION_FAILURE: Handshake failed. - DEPROVISIONING: Resources are being deallocated for the VPN tunnel. - FAILED: Tunnel creation has failed and the tunnel is not ready to be used. - NO_INCOMING_PACKETS: No incoming packets from peer. - REJECTED: Tunnel configuration was rejected, can be result of being denied access. - ALLOCATING_RESOURCES: Cloud VPN is in the process of allocating all required resources. - STOPPED: Tunnel is stopped due to its Forwarding Rules being deleted for Classic VPN tunnels or the project is in frozen state. - PEER_IDENTITY_MISMATCH: Peer identity does not match peer IP, probably behind NAT. - TS_NARROWING_NOT_ALLOWED: Traffic selector narrowing not allowed for an HA-VPN tunnel. Check the Status enum for the list of possible values.
optional string status = 181260274;getStatusBytes in interface VpnTunnelOrBuilderpublic VpnTunnel.Builder setStatus(String value)
[Output Only] The status of the VPN tunnel, which can be one of the following: - PROVISIONING: Resource is being allocated for the VPN tunnel. - WAITING_FOR_FULL_CONFIG: Waiting to receive all VPN-related configs from the user. Network, TargetVpnGateway, VpnTunnel, ForwardingRule, and Route resources are needed to setup the VPN tunnel. - FIRST_HANDSHAKE: Successful first handshake with the peer VPN. - ESTABLISHED: Secure session is successfully established with the peer VPN. - NETWORK_ERROR: Deprecated, replaced by NO_INCOMING_PACKETS - AUTHORIZATION_ERROR: Auth error (for example, bad shared secret). - NEGOTIATION_FAILURE: Handshake failed. - DEPROVISIONING: Resources are being deallocated for the VPN tunnel. - FAILED: Tunnel creation has failed and the tunnel is not ready to be used. - NO_INCOMING_PACKETS: No incoming packets from peer. - REJECTED: Tunnel configuration was rejected, can be result of being denied access. - ALLOCATING_RESOURCES: Cloud VPN is in the process of allocating all required resources. - STOPPED: Tunnel is stopped due to its Forwarding Rules being deleted for Classic VPN tunnels or the project is in frozen state. - PEER_IDENTITY_MISMATCH: Peer identity does not match peer IP, probably behind NAT. - TS_NARROWING_NOT_ALLOWED: Traffic selector narrowing not allowed for an HA-VPN tunnel. Check the Status enum for the list of possible values.
optional string status = 181260274;value - The status to set.public 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 tunnel. - WAITING_FOR_FULL_CONFIG: Waiting to receive all VPN-related configs from the user. Network, TargetVpnGateway, VpnTunnel, ForwardingRule, and Route resources are needed to setup the VPN tunnel. - FIRST_HANDSHAKE: Successful first handshake with the peer VPN. - ESTABLISHED: Secure session is successfully established with the peer VPN. - NETWORK_ERROR: Deprecated, replaced by NO_INCOMING_PACKETS - AUTHORIZATION_ERROR: Auth error (for example, bad shared secret). - NEGOTIATION_FAILURE: Handshake failed. - DEPROVISIONING: Resources are being deallocated for the VPN tunnel. - FAILED: Tunnel creation has failed and the tunnel is not ready to be used. - NO_INCOMING_PACKETS: No incoming packets from peer. - REJECTED: Tunnel configuration was rejected, can be result of being denied access. - ALLOCATING_RESOURCES: Cloud VPN is in the process of allocating all required resources. - STOPPED: Tunnel is stopped due to its Forwarding Rules being deleted for Classic VPN tunnels or the project is in frozen state. - PEER_IDENTITY_MISMATCH: Peer identity does not match peer IP, probably behind NAT. - TS_NARROWING_NOT_ALLOWED: Traffic selector narrowing not allowed for an HA-VPN tunnel. Check the Status enum for the list of possible values.
optional string status = 181260274;public VpnTunnel.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 tunnel. - WAITING_FOR_FULL_CONFIG: Waiting to receive all VPN-related configs from the user. Network, TargetVpnGateway, VpnTunnel, ForwardingRule, and Route resources are needed to setup the VPN tunnel. - FIRST_HANDSHAKE: Successful first handshake with the peer VPN. - ESTABLISHED: Secure session is successfully established with the peer VPN. - NETWORK_ERROR: Deprecated, replaced by NO_INCOMING_PACKETS - AUTHORIZATION_ERROR: Auth error (for example, bad shared secret). - NEGOTIATION_FAILURE: Handshake failed. - DEPROVISIONING: Resources are being deallocated for the VPN tunnel. - FAILED: Tunnel creation has failed and the tunnel is not ready to be used. - NO_INCOMING_PACKETS: No incoming packets from peer. - REJECTED: Tunnel configuration was rejected, can be result of being denied access. - ALLOCATING_RESOURCES: Cloud VPN is in the process of allocating all required resources. - STOPPED: Tunnel is stopped due to its Forwarding Rules being deleted for Classic VPN tunnels or the project is in frozen state. - PEER_IDENTITY_MISMATCH: Peer identity does not match peer IP, probably behind NAT. - TS_NARROWING_NOT_ALLOWED: Traffic selector narrowing not allowed for an HA-VPN tunnel. Check the Status enum for the list of possible values.
optional string status = 181260274;value - The bytes for status to set.public boolean hasTargetVpnGateway()
URL of the Target VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created.
optional string target_vpn_gateway = 532512843;hasTargetVpnGateway in interface VpnTunnelOrBuilderpublic String getTargetVpnGateway()
URL of the Target VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created.
optional string target_vpn_gateway = 532512843;getTargetVpnGateway in interface VpnTunnelOrBuilderpublic com.google.protobuf.ByteString getTargetVpnGatewayBytes()
URL of the Target VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created.
optional string target_vpn_gateway = 532512843;getTargetVpnGatewayBytes in interface VpnTunnelOrBuilderpublic VpnTunnel.Builder setTargetVpnGateway(String value)
URL of the Target VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created.
optional string target_vpn_gateway = 532512843;value - The targetVpnGateway to set.public VpnTunnel.Builder clearTargetVpnGateway()
URL of the Target VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created.
optional string target_vpn_gateway = 532512843;public VpnTunnel.Builder setTargetVpnGatewayBytes(com.google.protobuf.ByteString value)
URL of the Target VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created.
optional string target_vpn_gateway = 532512843;value - The bytes for targetVpnGateway to set.public boolean hasVpnGateway()
URL of the VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created. This must be used (instead of target_vpn_gateway) if a High Availability VPN gateway resource is created.
optional string vpn_gateway = 406684153;hasVpnGateway in interface VpnTunnelOrBuilderpublic String getVpnGateway()
URL of the VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created. This must be used (instead of target_vpn_gateway) if a High Availability VPN gateway resource is created.
optional string vpn_gateway = 406684153;getVpnGateway in interface VpnTunnelOrBuilderpublic com.google.protobuf.ByteString getVpnGatewayBytes()
URL of the VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created. This must be used (instead of target_vpn_gateway) if a High Availability VPN gateway resource is created.
optional string vpn_gateway = 406684153;getVpnGatewayBytes in interface VpnTunnelOrBuilderpublic VpnTunnel.Builder setVpnGateway(String value)
URL of the VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created. This must be used (instead of target_vpn_gateway) if a High Availability VPN gateway resource is created.
optional string vpn_gateway = 406684153;value - The vpnGateway to set.public VpnTunnel.Builder clearVpnGateway()
URL of the VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created. This must be used (instead of target_vpn_gateway) if a High Availability VPN gateway resource is created.
optional string vpn_gateway = 406684153;public VpnTunnel.Builder setVpnGatewayBytes(com.google.protobuf.ByteString value)
URL of the VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created. This must be used (instead of target_vpn_gateway) if a High Availability VPN gateway resource is created.
optional string vpn_gateway = 406684153;value - The bytes for vpnGateway to set.public boolean hasVpnGatewayInterface()
The interface ID of the VPN gateway with which this VPN tunnel is associated. Possible values are: `0`, `1`.
optional int32 vpn_gateway_interface = 95979123;hasVpnGatewayInterface in interface VpnTunnelOrBuilderpublic int getVpnGatewayInterface()
The interface ID of the VPN gateway with which this VPN tunnel is associated. Possible values are: `0`, `1`.
optional int32 vpn_gateway_interface = 95979123;getVpnGatewayInterface in interface VpnTunnelOrBuilderpublic VpnTunnel.Builder setVpnGatewayInterface(int value)
The interface ID of the VPN gateway with which this VPN tunnel is associated. Possible values are: `0`, `1`.
optional int32 vpn_gateway_interface = 95979123;value - The vpnGatewayInterface to set.public VpnTunnel.Builder clearVpnGatewayInterface()
The interface ID of the VPN gateway with which this VPN tunnel is associated. Possible values are: `0`, `1`.
optional int32 vpn_gateway_interface = 95979123;public final VpnTunnel.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<VpnTunnel.Builder>public final VpnTunnel.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<VpnTunnel.Builder>Copyright © 2023 Google LLC. All rights reserved.