Send feedback
Class NextHopVPNTunnel.Builder (1.55.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
public static final class NextHopVPNTunnel . Builder extends GeneratedMessageV3 . Builder<NextHopVPNTunnel . Builder > implements NextHopVPNTunnelOrBuilder
A route next hop that leads to a VPN tunnel resource.
Protobuf type google.cloud.networkconnectivity.v1.NextHopVPNTunnel
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NextHopVPNTunnel . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public NextHopVPNTunnel build ()
buildPartial()
public NextHopVPNTunnel buildPartial ()
clear()
public NextHopVPNTunnel . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public NextHopVPNTunnel . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public NextHopVPNTunnel . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearSiteToSiteDataTransfer()
public NextHopVPNTunnel . Builder clearSiteToSiteDataTransfer ()
Indicates whether site-to-site data transfer is allowed for this VPN tunnel
resource. Data transfer is available only in supported
locations .
bool site_to_site_data_transfer = 3;
clearUri()
public NextHopVPNTunnel . Builder clearUri ()
The URI of the VPN tunnel resource.
string uri = 1 [(.google.api.resource_reference) = { ... }
clearVpcNetwork()
public NextHopVPNTunnel . Builder clearVpcNetwork ()
The VPC network where this VPN tunnel is located.
string vpc_network = 2 [(.google.api.resource_reference) = { ... }
clone()
public NextHopVPNTunnel . Builder clone ()
Overrides
getDefaultInstanceForType()
public NextHopVPNTunnel getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getSiteToSiteDataTransfer()
public boolean getSiteToSiteDataTransfer ()
Indicates whether site-to-site data transfer is allowed for this VPN tunnel
resource. Data transfer is available only in supported
locations .
bool site_to_site_data_transfer = 3;
Returns
Type
Description
boolean
The siteToSiteDataTransfer.
getUri()
The URI of the VPN tunnel resource.
string uri = 1 [(.google.api.resource_reference) = { ... }
Returns
Type
Description
String
The uri.
getUriBytes()
public ByteString getUriBytes ()
The URI of the VPN tunnel resource.
string uri = 1 [(.google.api.resource_reference) = { ... }
Returns
Type
Description
ByteString
The bytes for uri.
getVpcNetwork()
public String getVpcNetwork ()
The VPC network where this VPN tunnel is located.
string vpc_network = 2 [(.google.api.resource_reference) = { ... }
Returns
Type
Description
String
The vpcNetwork.
getVpcNetworkBytes()
public ByteString getVpcNetworkBytes ()
The VPC network where this VPN tunnel is located.
string vpc_network = 2 [(.google.api.resource_reference) = { ... }
Returns
Type
Description
ByteString
The bytes for vpcNetwork.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(NextHopVPNTunnel other)
public NextHopVPNTunnel . Builder mergeFrom ( NextHopVPNTunnel other )
public NextHopVPNTunnel . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public NextHopVPNTunnel . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NextHopVPNTunnel . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public NextHopVPNTunnel . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NextHopVPNTunnel . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setSiteToSiteDataTransfer(boolean value)
public NextHopVPNTunnel . Builder setSiteToSiteDataTransfer ( boolean value )
Indicates whether site-to-site data transfer is allowed for this VPN tunnel
resource. Data transfer is available only in supported
locations .
bool site_to_site_data_transfer = 3;
Parameter
Name
Description
value
boolean
The siteToSiteDataTransfer to set.
setUnknownFields(UnknownFieldSet unknownFields)
public final NextHopVPNTunnel . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setUri(String value)
public NextHopVPNTunnel . Builder setUri ( String value )
The URI of the VPN tunnel resource.
string uri = 1 [(.google.api.resource_reference) = { ... }
Parameter
Name
Description
value
String
The uri to set.
setUriBytes(ByteString value)
public NextHopVPNTunnel . Builder setUriBytes ( ByteString value )
The URI of the VPN tunnel resource.
string uri = 1 [(.google.api.resource_reference) = { ... }
Parameter
Name
Description
value
ByteString
The bytes for uri to set.
setVpcNetwork(String value)
public NextHopVPNTunnel . Builder setVpcNetwork ( String value )
The VPC network where this VPN tunnel is located.
string vpc_network = 2 [(.google.api.resource_reference) = { ... }
Parameter
Name
Description
value
String
The vpcNetwork to set.
setVpcNetworkBytes(ByteString value)
public NextHopVPNTunnel . Builder setVpcNetworkBytes ( ByteString value )
The VPC network where this VPN tunnel is located.
string vpc_network = 2 [(.google.api.resource_reference) = { ... }
Parameter
Name
Description
value
ByteString
The bytes for vpcNetwork to set.
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-28 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-28 UTC."],[],[]]