Package com.google.cloud.compute.v1
Class VpnTunnel
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.VpnTunnel
- All Implemented Interfaces:
VpnTunnelOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class VpnTunnel
extends com.google.protobuf.GeneratedMessage
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRepresents a Cloud VPN Tunnel resource.static enum[Output Only] The status of the VPN tunnel, which can be one of the following: - PROVISIONING: Resource is being allocated for the VPN tunnelNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Labels for this resource.booleanUser specified list of ciphers to use for the phase 1 and phase 2 of the IKE protocol.User specified list of ciphers to use for the phase 1 and phase 2 of the IKE protocol.Output only.com.google.protobuf.ByteStringOutput only.static VpnTunnelAn optional description of this resource.com.google.protobuf.ByteStringAn optional description of this resource.static final com.google.protobuf.Descriptors.Descriptor[Output Only] Detailed status message for the VPN tunnel.com.google.protobuf.ByteString[Output Only] Detailed status message for the VPN tunnel.longgetId()[Output Only] The unique identifier for the resource.intIKE protocol version to use when establishing the VPN tunnel with the peer VPN gateway.getKind()Output only.com.google.protobuf.ByteStringOutput only.A fingerprint for the labels being applied to this VpnTunnel, which is essentially a hash of the labels set used for optimistic locking.com.google.protobuf.ByteStringA fingerprint for the labels being applied to this VpnTunnel, which is essentially a hash of the labels set used for optimistic locking.Deprecated.intLabels for this resource.Labels for this resource.getLabelsOrDefault(String key, String defaultValue) Labels for this resource.getLabelsOrThrow(String key) Labels for this resource.getLocalTrafficSelector(int index) Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway.com.google.protobuf.ByteStringgetLocalTrafficSelectorBytes(int index) Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway.intLocal traffic selector to use when establishing the VPN tunnel with the peer VPN gateway.com.google.protobuf.ProtocolStringListLocal traffic selector to use when establishing the VPN tunnel with the peer VPN gateway.getName()Name of the resource.com.google.protobuf.ByteStringName of the resource.Input only.Input only.com.google.protobuf.Parser<VpnTunnel>URL of the peer side external VPN gateway to which this VPN tunnel is connected.com.google.protobuf.ByteStringURL of the peer side external VPN gateway to which this VPN tunnel is connected.intThe interface ID of the external VPN gateway to which this VPN tunnel is connected.URL of the peer side HA VPN gateway to which this VPN tunnel is connected.com.google.protobuf.ByteStringURL of the peer side HA VPN gateway to which this VPN tunnel is connected.IP address of the peer VPN gateway.com.google.protobuf.ByteStringIP address of the peer VPN gateway.[Output Only] URL of the region where the VPN tunnel resides.com.google.protobuf.ByteString[Output Only] URL of the region where the VPN tunnel resides.getRemoteTrafficSelector(int index) Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway.com.google.protobuf.ByteStringgetRemoteTrafficSelectorBytes(int index) Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway.intRemote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway.com.google.protobuf.ProtocolStringListRemote 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.com.google.protobuf.ByteStringURL of the router resource to be used for dynamic routing.[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteString[Output Only] Server-defined URL for the resource.intShared secret used to set the secure session between the Cloud VPN gateway and the peer VPN gateway.com.google.protobuf.ByteStringShared secret used to set the secure session between the Cloud VPN gateway and the peer VPN gateway.Hash of the shared secret.com.google.protobuf.ByteStringHash 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 tunnelcom.google.protobuf.ByteString[Output Only] The status of the VPN tunnel, which can be one of the following: - PROVISIONING: Resource is being allocated for the VPN tunnelURL of the Target VPN gateway with which this VPN tunnel is associated.com.google.protobuf.ByteStringURL of the Target VPN gateway with which this VPN tunnel is associated.URL of the VPN gateway with which this VPN tunnel is associated.com.google.protobuf.ByteStringURL of the VPN gateway with which this VPN tunnel is associated.intThe interface ID of the VPN gateway with which this VPN tunnel is associated.booleanUser specified list of ciphers to use for the phase 1 and phase 2 of the IKE protocol.booleanOutput only.booleanAn optional description of this resource.boolean[Output Only] Detailed status message for the VPN tunnel.inthashCode()booleanhasId()[Output Only] The unique identifier for the resource.booleanIKE protocol version to use when establishing the VPN tunnel with the peer VPN gateway.booleanhasKind()Output only.booleanA fingerprint for the labels being applied to this VpnTunnel, which is essentially a hash of the labels set used for optimistic locking.booleanhasName()Name of the resource.booleanInput only.booleanURL of the peer side external VPN gateway to which this VPN tunnel is connected.booleanThe interface ID of the external VPN gateway to which this VPN tunnel is connected.booleanURL of the peer side HA VPN gateway to which this VPN tunnel is connected.booleanIP address of the peer VPN gateway.boolean[Output Only] URL of the region where the VPN tunnel resides.booleanURL of the router resource to be used for dynamic routing.boolean[Output Only] Server-defined URL for the resource.booleanShared secret used to set the secure session between the Cloud VPN gateway and the peer VPN gateway.booleanHash of the shared secret.boolean[Output Only] The status of the VPN tunnel, which can be one of the following: - PROVISIONING: Resource is being allocated for the VPN tunnelbooleanURL of the Target VPN gateway with which this VPN tunnel is associated.booleanURL of the VPN gateway with which this VPN tunnel is associated.booleanThe interface ID of the VPN gateway with which this VPN tunnel is associated.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic VpnTunnel.Builderstatic VpnTunnel.BuildernewBuilder(VpnTunnel prototype) protected VpnTunnel.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static VpnTunnelparseDelimitedFrom(InputStream input) static VpnTunnelparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VpnTunnelparseFrom(byte[] data) static VpnTunnelparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VpnTunnelparseFrom(com.google.protobuf.ByteString data) static VpnTunnelparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VpnTunnelparseFrom(com.google.protobuf.CodedInputStream input) static VpnTunnelparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VpnTunnelparseFrom(InputStream input) static VpnTunnelparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VpnTunnelparseFrom(ByteBuffer data) static VpnTunnelparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<VpnTunnel>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
CIPHER_SUITE_FIELD_NUMBER
public static final int CIPHER_SUITE_FIELD_NUMBER- See Also:
-
CREATION_TIMESTAMP_FIELD_NUMBER
public static final int CREATION_TIMESTAMP_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
DETAILED_STATUS_FIELD_NUMBER
public static final int DETAILED_STATUS_FIELD_NUMBER- See Also:
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
IKE_VERSION_FIELD_NUMBER
public static final int IKE_VERSION_FIELD_NUMBER- See Also:
-
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER- See Also:
-
LABEL_FINGERPRINT_FIELD_NUMBER
public static final int LABEL_FINGERPRINT_FIELD_NUMBER- See Also:
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER- See Also:
-
LOCAL_TRAFFIC_SELECTOR_FIELD_NUMBER
public static final int LOCAL_TRAFFIC_SELECTOR_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
PARAMS_FIELD_NUMBER
public static final int PARAMS_FIELD_NUMBER- See Also:
-
PEER_EXTERNAL_GATEWAY_FIELD_NUMBER
public static final int PEER_EXTERNAL_GATEWAY_FIELD_NUMBER- See Also:
-
PEER_EXTERNAL_GATEWAY_INTERFACE_FIELD_NUMBER
public static final int PEER_EXTERNAL_GATEWAY_INTERFACE_FIELD_NUMBER- See Also:
-
PEER_GCP_GATEWAY_FIELD_NUMBER
public static final int PEER_GCP_GATEWAY_FIELD_NUMBER- See Also:
-
PEER_IP_FIELD_NUMBER
public static final int PEER_IP_FIELD_NUMBER- See Also:
-
REGION_FIELD_NUMBER
public static final int REGION_FIELD_NUMBER- See Also:
-
REMOTE_TRAFFIC_SELECTOR_FIELD_NUMBER
public static final int REMOTE_TRAFFIC_SELECTOR_FIELD_NUMBER- See Also:
-
ROUTER_FIELD_NUMBER
public static final int ROUTER_FIELD_NUMBER- See Also:
-
SELF_LINK_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER- See Also:
-
SHARED_SECRET_FIELD_NUMBER
public static final int SHARED_SECRET_FIELD_NUMBER- See Also:
-
SHARED_SECRET_HASH_FIELD_NUMBER
public static final int SHARED_SECRET_HASH_FIELD_NUMBER- See Also:
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
TARGET_VPN_GATEWAY_FIELD_NUMBER
public static final int TARGET_VPN_GATEWAY_FIELD_NUMBER- See Also:
-
VPN_GATEWAY_FIELD_NUMBER
public static final int VPN_GATEWAY_FIELD_NUMBER- See Also:
-
VPN_GATEWAY_INTERFACE_FIELD_NUMBER
public static final int VPN_GATEWAY_INTERFACE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasCipherSuite
public boolean hasCipherSuite()User specified list of ciphers to use for the phase 1 and phase 2 of the IKE protocol.
optional .google.cloud.compute.v1.VpnTunnelCipherSuite cipher_suite = 443788228;- Specified by:
hasCipherSuitein interfaceVpnTunnelOrBuilder- Returns:
- Whether the cipherSuite field is set.
-
getCipherSuite
User specified list of ciphers to use for the phase 1 and phase 2 of the IKE protocol.
optional .google.cloud.compute.v1.VpnTunnelCipherSuite cipher_suite = 443788228;- Specified by:
getCipherSuitein interfaceVpnTunnelOrBuilder- Returns:
- The cipherSuite.
-
getCipherSuiteOrBuilder
User specified list of ciphers to use for the phase 1 and phase 2 of the IKE protocol.
optional .google.cloud.compute.v1.VpnTunnelCipherSuite cipher_suite = 443788228;- Specified by:
getCipherSuiteOrBuilderin interfaceVpnTunnelOrBuilder
-
hasCreationTimestamp
public boolean hasCreationTimestamp()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
hasCreationTimestampin interfaceVpnTunnelOrBuilder- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampin interfaceVpnTunnelOrBuilder- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
public com.google.protobuf.ByteString getCreationTimestampBytes()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampBytesin interfaceVpnTunnelOrBuilder- Returns:
- The bytes for creationTimestamp.
-
hasDescription
public boolean hasDescription()An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
hasDescriptionin interfaceVpnTunnelOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
getDescriptionin interfaceVpnTunnelOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
getDescriptionBytesin interfaceVpnTunnelOrBuilder- Returns:
- The bytes for description.
-
hasDetailedStatus
public boolean hasDetailedStatus()[Output Only] Detailed status message for the VPN tunnel.
optional string detailed_status = 333501025;- Specified by:
hasDetailedStatusin interfaceVpnTunnelOrBuilder- Returns:
- Whether the detailedStatus field is set.
-
getDetailedStatus
[Output Only] Detailed status message for the VPN tunnel.
optional string detailed_status = 333501025;- Specified by:
getDetailedStatusin interfaceVpnTunnelOrBuilder- Returns:
- The detailedStatus.
-
getDetailedStatusBytes
public com.google.protobuf.ByteString getDetailedStatusBytes()[Output Only] Detailed status message for the VPN tunnel.
optional string detailed_status = 333501025;- Specified by:
getDetailedStatusBytesin interfaceVpnTunnelOrBuilder- Returns:
- The bytes for detailedStatus.
-
hasId
public boolean hasId()[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Specified by:
hasIdin interfaceVpnTunnelOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Specified by:
getIdin interfaceVpnTunnelOrBuilder- Returns:
- The id.
-
hasIkeVersion
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;- Specified by:
hasIkeVersionin interfaceVpnTunnelOrBuilder- Returns:
- Whether the ikeVersion field is set.
-
getIkeVersion
public 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;- Specified by:
getIkeVersionin interfaceVpnTunnelOrBuilder- Returns:
- The ikeVersion.
-
hasKind
public boolean hasKind()Output only. [Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels.
optional string kind = 3292052;- Specified by:
hasKindin interfaceVpnTunnelOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
Output only. [Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels.
optional string kind = 3292052;- Specified by:
getKindin interfaceVpnTunnelOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()Output only. [Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceVpnTunnelOrBuilder- Returns:
- The bytes for kind.
-
hasLabelFingerprint
public boolean hasLabelFingerprint()A fingerprint for the labels being applied to this VpnTunnel, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a VpnTunnel.
optional string label_fingerprint = 178124825;- Specified by:
hasLabelFingerprintin interfaceVpnTunnelOrBuilder- Returns:
- Whether the labelFingerprint field is set.
-
getLabelFingerprint
A fingerprint for the labels being applied to this VpnTunnel, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a VpnTunnel.
optional string label_fingerprint = 178124825;- Specified by:
getLabelFingerprintin interfaceVpnTunnelOrBuilder- Returns:
- The labelFingerprint.
-
getLabelFingerprintBytes
public com.google.protobuf.ByteString getLabelFingerprintBytes()A fingerprint for the labels being applied to this VpnTunnel, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a VpnTunnel.
optional string label_fingerprint = 178124825;- Specified by:
getLabelFingerprintBytesin interfaceVpnTunnelOrBuilder- Returns:
- The bytes for labelFingerprint.
-
getLabelsCount
public int getLabelsCount()Description copied from interface:VpnTunnelOrBuilderLabels for this resource. These can only be added or modified by thesetLabels method. Each label key/value pair must comply withRFC1035. Label values may be empty.
map<string, string> labels = 500195327;- Specified by:
getLabelsCountin interfaceVpnTunnelOrBuilder
-
containsLabels
Labels for this resource. These can only be added or modified by thesetLabels method. Each label key/value pair must comply withRFC1035. Label values may be empty.
map<string, string> labels = 500195327;- Specified by:
containsLabelsin interfaceVpnTunnelOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceVpnTunnelOrBuilder
-
getLabelsMap
Labels for this resource. These can only be added or modified by thesetLabels method. Each label key/value pair must comply withRFC1035. Label values may be empty.
map<string, string> labels = 500195327;- Specified by:
getLabelsMapin interfaceVpnTunnelOrBuilder
-
getLabelsOrDefault
Labels for this resource. These can only be added or modified by thesetLabels method. Each label key/value pair must comply withRFC1035. Label values may be empty.
map<string, string> labels = 500195327;- Specified by:
getLabelsOrDefaultin interfaceVpnTunnelOrBuilder
-
getLabelsOrThrow
Labels for this resource. These can only be added or modified by thesetLabels method. Each label key/value pair must comply withRFC1035. Label values may be empty.
map<string, string> labels = 500195327;- Specified by:
getLabelsOrThrowin interfaceVpnTunnelOrBuilder
-
getLocalTrafficSelectorList
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 for Classic VPN tunnels. This field is output only for HA VPN tunnels.
repeated string local_traffic_selector = 317314613;- Specified by:
getLocalTrafficSelectorListin interfaceVpnTunnelOrBuilder- Returns:
- A list containing the localTrafficSelector.
-
getLocalTrafficSelectorCount
public 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 for Classic VPN tunnels. This field is output only for HA VPN tunnels.
repeated string local_traffic_selector = 317314613;- Specified by:
getLocalTrafficSelectorCountin interfaceVpnTunnelOrBuilder- Returns:
- The count of localTrafficSelector.
-
getLocalTrafficSelector
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 for Classic VPN tunnels. This field is output only for HA VPN tunnels.
repeated string local_traffic_selector = 317314613;- Specified by:
getLocalTrafficSelectorin interfaceVpnTunnelOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The localTrafficSelector at the given index.
-
getLocalTrafficSelectorBytes
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 for Classic VPN tunnels. This field is output only for HA VPN tunnels.
repeated string local_traffic_selector = 317314613;- Specified by:
getLocalTrafficSelectorBytesin interfaceVpnTunnelOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the localTrafficSelector at the given index.
-
hasName
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 withRFC1035. 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;- Specified by:
hasNamein interfaceVpnTunnelOrBuilder- Returns:
- Whether the name field is set.
-
getName
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. 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;- Specified by:
getNamein interfaceVpnTunnelOrBuilder- Returns:
- The name.
-
getNameBytes
public 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 withRFC1035. 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;- Specified by:
getNameBytesin interfaceVpnTunnelOrBuilder- Returns:
- The bytes for name.
-
hasParams
public boolean hasParams()Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.VpnTunnelParams params = 78313862;- Specified by:
hasParamsin interfaceVpnTunnelOrBuilder- Returns:
- Whether the params field is set.
-
getParams
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.VpnTunnelParams params = 78313862;- Specified by:
getParamsin interfaceVpnTunnelOrBuilder- Returns:
- The params.
-
getParamsOrBuilder
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.VpnTunnelParams params = 78313862;- Specified by:
getParamsOrBuilderin interfaceVpnTunnelOrBuilder
-
hasPeerExternalGateway
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;- Specified by:
hasPeerExternalGatewayin interfaceVpnTunnelOrBuilder- Returns:
- Whether the peerExternalGateway field is set.
-
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;- Specified by:
getPeerExternalGatewayin interfaceVpnTunnelOrBuilder- Returns:
- The peerExternalGateway.
-
getPeerExternalGatewayBytes
public 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;- Specified by:
getPeerExternalGatewayBytesin interfaceVpnTunnelOrBuilder- Returns:
- The bytes for peerExternalGateway.
-
hasPeerExternalGatewayInterface
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;- Specified by:
hasPeerExternalGatewayInterfacein interfaceVpnTunnelOrBuilder- Returns:
- Whether the peerExternalGatewayInterface field is set.
-
getPeerExternalGatewayInterface
public 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;- Specified by:
getPeerExternalGatewayInterfacein interfaceVpnTunnelOrBuilder- Returns:
- The peerExternalGatewayInterface.
-
hasPeerGcpGateway
public boolean hasPeerGcpGateway()URL of the peer side HA 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 Google Cloud VPN gateway.
optional string peer_gcp_gateway = 281867452;- Specified by:
hasPeerGcpGatewayin interfaceVpnTunnelOrBuilder- Returns:
- Whether the peerGcpGateway field is set.
-
getPeerGcpGateway
URL of the peer side HA 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 Google Cloud VPN gateway.
optional string peer_gcp_gateway = 281867452;- Specified by:
getPeerGcpGatewayin interfaceVpnTunnelOrBuilder- Returns:
- The peerGcpGateway.
-
getPeerGcpGatewayBytes
public com.google.protobuf.ByteString getPeerGcpGatewayBytes()URL of the peer side HA 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 Google Cloud VPN gateway.
optional string peer_gcp_gateway = 281867452;- Specified by:
getPeerGcpGatewayBytesin interfaceVpnTunnelOrBuilder- Returns:
- The bytes for peerGcpGateway.
-
hasPeerIp
public boolean hasPeerIp()IP address of the peer VPN gateway. Only IPv4 is supported. This field can be set only for Classic VPN tunnels.
optional string peer_ip = 383249700;- Specified by:
hasPeerIpin interfaceVpnTunnelOrBuilder- Returns:
- Whether the peerIp field is set.
-
getPeerIp
IP address of the peer VPN gateway. Only IPv4 is supported. This field can be set only for Classic VPN tunnels.
optional string peer_ip = 383249700;- Specified by:
getPeerIpin interfaceVpnTunnelOrBuilder- Returns:
- The peerIp.
-
getPeerIpBytes
public com.google.protobuf.ByteString getPeerIpBytes()IP address of the peer VPN gateway. Only IPv4 is supported. This field can be set only for Classic VPN tunnels.
optional string peer_ip = 383249700;- Specified by:
getPeerIpBytesin interfaceVpnTunnelOrBuilder- Returns:
- The bytes for peerIp.
-
hasRegion
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;- Specified by:
hasRegionin interfaceVpnTunnelOrBuilder- Returns:
- Whether the region field is set.
-
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;- Specified by:
getRegionin interfaceVpnTunnelOrBuilder- Returns:
- The region.
-
getRegionBytes
public 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;- Specified by:
getRegionBytesin interfaceVpnTunnelOrBuilder- Returns:
- The bytes for region.
-
getRemoteTrafficSelectorList
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 for Classic VPN tunnels. This field is output only for HA VPN tunnels.
repeated string remote_traffic_selector = 358887098;- Specified by:
getRemoteTrafficSelectorListin interfaceVpnTunnelOrBuilder- Returns:
- A list containing the remoteTrafficSelector.
-
getRemoteTrafficSelectorCount
public 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 for Classic VPN tunnels. This field is output only for HA VPN tunnels.
repeated string remote_traffic_selector = 358887098;- Specified by:
getRemoteTrafficSelectorCountin interfaceVpnTunnelOrBuilder- Returns:
- The count of remoteTrafficSelector.
-
getRemoteTrafficSelector
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 for Classic VPN tunnels. This field is output only for HA VPN tunnels.
repeated string remote_traffic_selector = 358887098;- Specified by:
getRemoteTrafficSelectorin interfaceVpnTunnelOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The remoteTrafficSelector at the given index.
-
getRemoteTrafficSelectorBytes
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 for Classic VPN tunnels. This field is output only for HA VPN tunnels.
repeated string remote_traffic_selector = 358887098;- Specified by:
getRemoteTrafficSelectorBytesin interfaceVpnTunnelOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the remoteTrafficSelector at the given index.
-
hasRouter
public boolean hasRouter()URL of the router resource to be used for dynamic routing.
optional string router = 148608841;- Specified by:
hasRouterin interfaceVpnTunnelOrBuilder- Returns:
- Whether the router field is set.
-
getRouter
URL of the router resource to be used for dynamic routing.
optional string router = 148608841;- Specified by:
getRouterin interfaceVpnTunnelOrBuilder- Returns:
- The router.
-
getRouterBytes
public com.google.protobuf.ByteString getRouterBytes()URL of the router resource to be used for dynamic routing.
optional string router = 148608841;- Specified by:
getRouterBytesin interfaceVpnTunnelOrBuilder- Returns:
- The bytes for router.
-
hasSelfLink
public boolean hasSelfLink()[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
hasSelfLinkin interfaceVpnTunnelOrBuilder- Returns:
- Whether the selfLink field is set.
-
getSelfLink
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkin interfaceVpnTunnelOrBuilder- Returns:
- The selfLink.
-
getSelfLinkBytes
public com.google.protobuf.ByteString getSelfLinkBytes()[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkBytesin interfaceVpnTunnelOrBuilder- Returns:
- The bytes for selfLink.
-
hasStatus
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;- Specified by:
hasStatusin interfaceVpnTunnelOrBuilder- Returns:
- Whether the status field is set.
-
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;- Specified by:
getStatusin interfaceVpnTunnelOrBuilder- Returns:
- The status.
-
getStatusBytes
public 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;- Specified by:
getStatusBytesin interfaceVpnTunnelOrBuilder- Returns:
- The bytes for status.
-
hasTargetVpnGateway
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. This field can be set only for Classic VPN tunnels.
optional string target_vpn_gateway = 532512843;- Specified by:
hasTargetVpnGatewayin interfaceVpnTunnelOrBuilder- Returns:
- Whether the targetVpnGateway field is set.
-
getTargetVpnGateway
URL of the Target VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created. This field can be set only for Classic VPN tunnels.
optional string target_vpn_gateway = 532512843;- Specified by:
getTargetVpnGatewayin interfaceVpnTunnelOrBuilder- Returns:
- The targetVpnGateway.
-
getTargetVpnGatewayBytes
public 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. This field can be set only for Classic VPN tunnels.
optional string target_vpn_gateway = 532512843;- Specified by:
getTargetVpnGatewayBytesin interfaceVpnTunnelOrBuilder- Returns:
- The bytes for targetVpnGateway.
-
hasVpnGateway
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;- Specified by:
hasVpnGatewayin interfaceVpnTunnelOrBuilder- Returns:
- Whether the vpnGateway field is set.
-
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;- Specified by:
getVpnGatewayin interfaceVpnTunnelOrBuilder- Returns:
- The vpnGateway.
-
getVpnGatewayBytes
public 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;- Specified by:
getVpnGatewayBytesin interfaceVpnTunnelOrBuilder- Returns:
- The bytes for vpnGateway.
-
hasVpnGatewayInterface
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;- Specified by:
hasVpnGatewayInterfacein interfaceVpnTunnelOrBuilder- Returns:
- Whether the vpnGatewayInterface field is set.
-
getVpnGatewayInterface
public 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;- Specified by:
getVpnGatewayInterfacein interfaceVpnTunnelOrBuilder- Returns:
- The vpnGatewayInterface.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static VpnTunnel parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VpnTunnel parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VpnTunnel parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VpnTunnel parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VpnTunnel parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VpnTunnel parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static VpnTunnel parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static VpnTunnel parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static VpnTunnel parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected VpnTunnel.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-