Class NetworkConfig.Builder (1.31.0)

publicstaticfinalclass NetworkConfig.BuilderextendsGeneratedMessageV3.Builder<NetworkConfig.Builder>implementsNetworkConfigOrBuilder

Network configuration for a Data Fusion instance. These configurations are used for peering with the customer network. Configurations are optional when a public Data Fusion instance is to be created. However, providing these configurations allows several benefits, such as reduced network latency while accessing the customer resources from managed Data Fusion instance nodes, as well as access to the customer on-prem resources.

Protobuf type google.cloud.datafusion.v1beta1.NetworkConfig

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()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicNetworkConfig.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NetworkConfig.Builder
Overrides

build()

publicNetworkConfigbuild()
Returns
Type Description
NetworkConfig

buildPartial()

publicNetworkConfigbuildPartial()
Returns
Type Description
NetworkConfig

clear()

publicNetworkConfig.Builderclear()
Returns
Type Description
NetworkConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

publicNetworkConfig.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
NetworkConfig.Builder
Overrides

clearIpAllocation()

publicNetworkConfig.BuilderclearIpAllocation()

The IP range in CIDR notation to use for the managed Data Fusion instance nodes. This range must not overlap with any other ranges used in the Data Fusion instance network.

string ip_allocation = 2;

Returns
Type Description
NetworkConfig.Builder

This builder for chaining.

clearNetwork()

publicNetworkConfig.BuilderclearNetwork()

Name of the network in the customer project with which the Tenant Project will be peered for executing pipelines. In case of shared VPC where the network resides in another host project the network should specified in the form of projects/{host-project-id}/global/networks/{network}

string network = 1;

Returns
Type Description
NetworkConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

publicNetworkConfig.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
NetworkConfig.Builder
Overrides

clone()

publicNetworkConfig.Builderclone()
Returns
Type Description
NetworkConfig.Builder
Overrides

getDefaultInstanceForType()

publicNetworkConfiggetDefaultInstanceForType()
Returns
Type Description
NetworkConfig

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getIpAllocation()

publicStringgetIpAllocation()

The IP range in CIDR notation to use for the managed Data Fusion instance nodes. This range must not overlap with any other ranges used in the Data Fusion instance network.

string ip_allocation = 2;

Returns
Type Description
String

The ipAllocation.

getIpAllocationBytes()

publicByteStringgetIpAllocationBytes()

The IP range in CIDR notation to use for the managed Data Fusion instance nodes. This range must not overlap with any other ranges used in the Data Fusion instance network.

string ip_allocation = 2;

Returns
Type Description
ByteString

The bytes for ipAllocation.

getNetwork()

publicStringgetNetwork()

Name of the network in the customer project with which the Tenant Project will be peered for executing pipelines. In case of shared VPC where the network resides in another host project the network should specified in the form of projects/{host-project-id}/global/networks/{network}

string network = 1;

Returns
Type Description
String

The network.

getNetworkBytes()

publicByteStringgetNetworkBytes()

Name of the network in the customer project with which the Tenant Project will be peered for executing pipelines. In case of shared VPC where the network resides in another host project the network should specified in the form of projects/{host-project-id}/global/networks/{network}

string network = 1;

Returns
Type Description
ByteString

The bytes for network.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NetworkConfig other)

publicNetworkConfig.BuildermergeFrom(NetworkConfigother)
Parameter
Name Description
other NetworkConfig
Returns
Type Description
NetworkConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicNetworkConfig.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicNetworkConfig.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
NetworkConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalNetworkConfig.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NetworkConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

publicNetworkConfig.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NetworkConfig.Builder
Overrides

setIpAllocation(String value)

publicNetworkConfig.BuildersetIpAllocation(Stringvalue)

The IP range in CIDR notation to use for the managed Data Fusion instance nodes. This range must not overlap with any other ranges used in the Data Fusion instance network.

string ip_allocation = 2;

Parameter
Name Description
value String

The ipAllocation to set.

Returns
Type Description
NetworkConfig.Builder

This builder for chaining.

setIpAllocationBytes(ByteString value)

publicNetworkConfig.BuildersetIpAllocationBytes(ByteStringvalue)

The IP range in CIDR notation to use for the managed Data Fusion instance nodes. This range must not overlap with any other ranges used in the Data Fusion instance network.

string ip_allocation = 2;

Parameter
Name Description
value ByteString

The bytes for ipAllocation to set.

Returns
Type Description
NetworkConfig.Builder

This builder for chaining.

setNetwork(String value)

publicNetworkConfig.BuildersetNetwork(Stringvalue)

Name of the network in the customer project with which the Tenant Project will be peered for executing pipelines. In case of shared VPC where the network resides in another host project the network should specified in the form of projects/{host-project-id}/global/networks/{network}

string network = 1;

Parameter
Name Description
value String

The network to set.

Returns
Type Description
NetworkConfig.Builder

This builder for chaining.

setNetworkBytes(ByteString value)

publicNetworkConfig.BuildersetNetworkBytes(ByteStringvalue)

Name of the network in the customer project with which the Tenant Project will be peered for executing pipelines. In case of shared VPC where the network resides in another host project the network should specified in the form of projects/{host-project-id}/global/networks/{network}

string network = 1;

Parameter
Name Description
value ByteString

The bytes for network to set.

Returns
Type Description
NetworkConfig.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

publicNetworkConfig.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
NetworkConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalNetworkConfig.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NetworkConfig.Builder
Overrides

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年11月19日 UTC.