Class NetworkConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder>
-
- com.google.cloud.datafusion.v1beta1.NetworkConfig.Builder
-
- All Implemented Interfaces:
NetworkConfigOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- NetworkConfig
public static final class NetworkConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder> 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 typegoogle.cloud.datafusion.v1beta1.NetworkConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkConfig.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
NetworkConfig
build()
NetworkConfig
buildPartial()
NetworkConfig.Builder
clear()
NetworkConfig.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
NetworkConfig.Builder
clearIpAllocation()
The IP range in CIDR notation to use for the managed Data Fusion instance nodes.NetworkConfig.Builder
clearNetwork()
Name of the network in the customer project with which the Tenant Project will be peered for executing pipelines.NetworkConfig.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
NetworkConfig.Builder
clone()
NetworkConfig
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getIpAllocation()
The IP range in CIDR notation to use for the managed Data Fusion instance nodes.com.google.protobuf.ByteString
getIpAllocationBytes()
The IP range in CIDR notation to use for the managed Data Fusion instance nodes.String
getNetwork()
Name of the network in the customer project with which the Tenant Project will be peered for executing pipelines.com.google.protobuf.ByteString
getNetworkBytes()
Name of the network in the customer project with which the Tenant Project will be peered for executing pipelines.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
NetworkConfig.Builder
mergeFrom(NetworkConfig other)
NetworkConfig.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
NetworkConfig.Builder
mergeFrom(com.google.protobuf.Message other)
NetworkConfig.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
NetworkConfig.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
NetworkConfig.Builder
setIpAllocation(String value)
The IP range in CIDR notation to use for the managed Data Fusion instance nodes.NetworkConfig.Builder
setIpAllocationBytes(com.google.protobuf.ByteString value)
The IP range in CIDR notation to use for the managed Data Fusion instance nodes.NetworkConfig.Builder
setNetwork(String value)
Name of the network in the customer project with which the Tenant Project will be peered for executing pipelines.NetworkConfig.Builder
setNetworkBytes(com.google.protobuf.ByteString value)
Name of the network in the customer project with which the Tenant Project will be peered for executing pipelines.NetworkConfig.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
NetworkConfig.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder>
-
clear
public NetworkConfig.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder>
-
getDefaultInstanceForType
public NetworkConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public NetworkConfig build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NetworkConfig buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public NetworkConfig.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder>
-
setField
public NetworkConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder>
-
clearField
public NetworkConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder>
-
clearOneof
public NetworkConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder>
-
setRepeatedField
public NetworkConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder>
-
addRepeatedField
public NetworkConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder>
-
mergeFrom
public NetworkConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<NetworkConfig.Builder>
-
mergeFrom
public NetworkConfig.Builder mergeFrom(NetworkConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder>
-
mergeFrom
public NetworkConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<NetworkConfig.Builder>
- Throws:
IOException
-
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;
- Specified by:
getNetwork
in interfaceNetworkConfigOrBuilder
- Returns:
- The network.
-
getNetworkBytes
public com.google.protobuf.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;
- Specified by:
getNetworkBytes
in interfaceNetworkConfigOrBuilder
- Returns:
- The bytes for network.
-
setNetwork
public NetworkConfig.Builder setNetwork(String value)
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;
- Parameters:
value
- The network to set.- Returns:
- This builder for chaining.
-
clearNetwork
public NetworkConfig.Builder clearNetwork()
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:
- This builder for chaining.
-
setNetworkBytes
public NetworkConfig.Builder setNetworkBytes(com.google.protobuf.ByteString value)
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;
- Parameters:
value
- The bytes for network to set.- Returns:
- This builder for chaining.
-
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 Data Fusion instance network.
string ip_allocation = 2;
- Specified by:
getIpAllocation
in interfaceNetworkConfigOrBuilder
- Returns:
- The ipAllocation.
-
getIpAllocationBytes
public com.google.protobuf.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 Data Fusion instance network.
string ip_allocation = 2;
- Specified by:
getIpAllocationBytes
in interfaceNetworkConfigOrBuilder
- Returns:
- The bytes for ipAllocation.
-
setIpAllocation
public NetworkConfig.Builder setIpAllocation(String value)
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;
- Parameters:
value
- The ipAllocation to set.- Returns:
- This builder for chaining.
-
clearIpAllocation
public NetworkConfig.Builder clearIpAllocation()
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:
- This builder for chaining.
-
setIpAllocationBytes
public NetworkConfig.Builder setIpAllocationBytes(com.google.protobuf.ByteString value)
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;
- Parameters:
value
- The bytes for ipAllocation to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final NetworkConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder>
-
mergeUnknownFields
public final NetworkConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder>
-
-