Class NetworkConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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 type google.cloud.datafusion.v1beta1.NetworkConfig
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    The IP range in CIDR notation to use for the managed Data Fusion instance nodes.
    Name of the network in the customer project with which the Tenant Project will be peered for executing pipelines.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    The IP range in CIDR notation to use for the managed Data Fusion instance nodes.
    com.google.protobuf.ByteString
    The IP range in CIDR notation to use for the managed Data Fusion instance nodes.
    Name of the network in the customer project with which the Tenant Project will be peered for executing pipelines.
    com.google.protobuf.ByteString
    Name of the network in the customer project with which the Tenant Project will be peered for executing pipelines.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    The IP range in CIDR notation to use for the managed Data Fusion instance nodes.
    setIpAllocationBytes(com.google.protobuf.ByteString value)
    The IP range in CIDR notation to use for the managed Data Fusion instance nodes.
    Name of the network in the customer project with which the Tenant Project will be peered for executing pipelines.
    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.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<NetworkConfig.Builder>
    • clear

      public NetworkConfig.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<NetworkConfig.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<NetworkConfig.Builder>
    • getDefaultInstanceForType

      public NetworkConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public NetworkConfig build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public NetworkConfig buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public NetworkConfig.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<NetworkConfig.Builder>
    • mergeFrom

      public NetworkConfig.Builder mergeFrom(NetworkConfig other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<NetworkConfig.Builder>
    • mergeFrom

      public NetworkConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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 interface NetworkConfigOrBuilder
      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 interface NetworkConfigOrBuilder
      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 interface NetworkConfigOrBuilder
      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 interface NetworkConfigOrBuilder
      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.