Class NetworkConfig (1.80.0)

publicfinalclass NetworkConfigextendsGeneratedMessageV3implementsNetworkConfigOrBuilder

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.v1.NetworkConfig

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

IP_ALLOCATION_FIELD_NUMBER

publicstaticfinalintIP_ALLOCATION_FIELD_NUMBER
Field Value
Type Description
int

NETWORK_FIELD_NUMBER

publicstaticfinalintNETWORK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticNetworkConfiggetDefaultInstance()
Returns
Type Description
NetworkConfig

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticNetworkConfig.BuildernewBuilder()
Returns
Type Description
NetworkConfig.Builder

newBuilder(NetworkConfig prototype)

publicstaticNetworkConfig.BuildernewBuilder(NetworkConfigprototype)
Parameter
Name Description
prototype NetworkConfig
Returns
Type Description
NetworkConfig.Builder

parseDelimitedFrom(InputStream input)

publicstaticNetworkConfigparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
NetworkConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticNetworkConfigparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticNetworkConfigparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
NetworkConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticNetworkConfigparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticNetworkConfigparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
NetworkConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticNetworkConfigparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticNetworkConfigparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
NetworkConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticNetworkConfigparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticNetworkConfigparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
NetworkConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticNetworkConfigparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticNetworkConfigparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
NetworkConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticNetworkConfigparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<NetworkConfig>parser()
Returns
Type Description
Parser<NetworkConfig>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

publicNetworkConfiggetDefaultInstanceForType()
Returns
Type Description
NetworkConfig

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 customer 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 customer 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.

getParserForType()

publicParser<NetworkConfig>getParserForType()
Returns
Type Description
Parser<NetworkConfig>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicNetworkConfig.BuildernewBuilderForType()
Returns
Type Description
NetworkConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedNetworkConfig.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
NetworkConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicNetworkConfig.BuildertoBuilder()
Returns
Type Description
NetworkConfig.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

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.