Send feedback
Class LinkedVpnTunnels (1.14.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.14.0 keyboard_arrow_down
public final class LinkedVpnTunnels extends GeneratedMessageV3 implements LinkedVpnTunnelsOrBuilder
A collection of Cloud VPN tunnel resources. These resources should be
redundant HA VPN tunnels that all advertise the same prefixes to Google
Cloud. Alternatively, in a passive/active configuration, all tunnels
should be capable of advertising the same prefixes.
Protobuf type google.cloud.networkconnectivity.v1.LinkedVpnTunnels
Static Fields
SITE_TO_SITE_DATA_TRANSFER_FIELD_NUMBER
public static final int SITE_TO_SITE_DATA_TRANSFER_FIELD_NUMBER
Field Value Type Description int
URIS_FIELD_NUMBER
public static final int URIS_FIELD_NUMBER
Field Value Type Description int
VPC_NETWORK_FIELD_NUMBER
public static final int VPC_NETWORK_FIELD_NUMBER
Field Value Type Description int
Static Methods
getDefaultInstance()
public static LinkedVpnTunnels getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static LinkedVpnTunnels . Builder newBuilder ()
newBuilder(LinkedVpnTunnels prototype)
public static LinkedVpnTunnels . Builder newBuilder ( LinkedVpnTunnels prototype )
public static LinkedVpnTunnels parseDelimitedFrom ( InputStream input )
public static LinkedVpnTunnels parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static LinkedVpnTunnels parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LinkedVpnTunnels parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static LinkedVpnTunnels parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LinkedVpnTunnels parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static LinkedVpnTunnels parseFrom ( CodedInputStream input )
public static LinkedVpnTunnels parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static LinkedVpnTunnels parseFrom ( InputStream input )
public static LinkedVpnTunnels parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static LinkedVpnTunnels parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LinkedVpnTunnels parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<LinkedVpnTunnels> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
getDefaultInstanceForType()
public LinkedVpnTunnels getDefaultInstanceForType ()
getParserForType()
public Parser<LinkedVpnTunnels> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns Type Description int
Overrides
getSiteToSiteDataTransfer()
public boolean getSiteToSiteDataTransfer ()
A value that controls whether site-to-site data transfer is enabled for
these resources. Data transfer is available only in supported
locations .
bool site_to_site_data_transfer = 2;
Returns Type Description boolean
The siteToSiteDataTransfer.
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Overrides
getUris(int index)
public String getUris ( int index )
The URIs of linked VPN tunnel resources.
repeated string uris = 1 [(.google.api.resource_reference) = { ... }
Parameter Name Description index
int
The index of the element to return.
Returns Type Description String
The uris at the given index.
getUrisBytes(int index)
public ByteString getUrisBytes ( int index )
The URIs of linked VPN tunnel resources.
repeated string uris = 1 [(.google.api.resource_reference) = { ... }
Parameter Name Description index
int
The index of the value to return.
Returns Type Description ByteString
The bytes of the uris at the given index.
getUrisCount()
public int getUrisCount ()
The URIs of linked VPN tunnel resources.
repeated string uris = 1 [(.google.api.resource_reference) = { ... }
Returns Type Description int
The count of uris.
getUrisList()
public ProtocolStringList getUrisList ()
The URIs of linked VPN tunnel resources.
repeated string uris = 1 [(.google.api.resource_reference) = { ... }
getVpcNetwork()
public String getVpcNetwork ()
Output only. The VPC network where these VPN tunnels are located.
string vpc_network = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns Type Description String
The vpcNetwork.
getVpcNetworkBytes()
public ByteString getVpcNetworkBytes ()
Output only. The VPC network where these VPN tunnels are located.
string vpc_network = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns Type Description ByteString
The bytes for vpcNetwork.
hashCode()
Returns Type Description int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public LinkedVpnTunnels . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected LinkedVpnTunnels . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
toBuilder()
public LinkedVpnTunnels . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]