public final class NetworkConfig extends GeneratedMessageV3 implements NetworkConfigOrBuilder
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
Static Fields
IP_ALLOCATION_FIELD_NUMBER
public static final int IP_ALLOCATION_FIELD_NUMBER
Field Value
NETWORK_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static NetworkConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static NetworkConfig.Builder newBuilder()
Returns
newBuilder(NetworkConfig prototype)
public static NetworkConfig.Builder newBuilder(NetworkConfig prototype)
Parameter
Returns
public static NetworkConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static NetworkConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static NetworkConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static NetworkConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static NetworkConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NetworkConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static NetworkConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static NetworkConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static NetworkConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static NetworkConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static NetworkConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static NetworkConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<NetworkConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public NetworkConfig getDefaultInstanceForType()
Returns
getIpAllocation()
public String getIpAllocation()
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()
public ByteString getIpAllocationBytes()
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()
public String getNetwork()
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()
public ByteString getNetworkBytes()
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
getParserForType()
public Parser<NetworkConfig> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public NetworkConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected NetworkConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public NetworkConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions