Class 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 the instance.
     
    Protobuf type google.cloud.filestore.v1.NetworkConfig
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

        public NetworkConfig.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder>
      • setField

        public NetworkConfig.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                              Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder>
      • clearField

        public NetworkConfig.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder>
      • clearOneof

        public NetworkConfig.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.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 interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder>
      • addRepeatedField

        public NetworkConfig.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                      Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.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>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 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()
         The name of the Google Compute Engine
         [VPC network](https://cloud.google.com/vpc/docs/vpc) to which the
         instance is connected.
         
        string network = 1;
        Specified by:
        getNetwork in interface NetworkConfigOrBuilder
        Returns:
        The network.
      • getNetworkBytes

        public com.google.protobuf.ByteString getNetworkBytes()
         The name of the Google Compute Engine
         [VPC network](https://cloud.google.com/vpc/docs/vpc) to which the
         instance is connected.
         
        string network = 1;
        Specified by:
        getNetworkBytes in interface NetworkConfigOrBuilder
        Returns:
        The bytes for network.
      • setNetwork

        public NetworkConfig.Builder setNetwork​(String value)
         The name of the Google Compute Engine
         [VPC network](https://cloud.google.com/vpc/docs/vpc) to which the
         instance is connected.
         
        string network = 1;
        Parameters:
        value - The network to set.
        Returns:
        This builder for chaining.
      • clearNetwork

        public NetworkConfig.Builder clearNetwork()
         The name of the Google Compute Engine
         [VPC network](https://cloud.google.com/vpc/docs/vpc) to which the
         instance is connected.
         
        string network = 1;
        Returns:
        This builder for chaining.
      • setNetworkBytes

        public NetworkConfig.Builder setNetworkBytes​(com.google.protobuf.ByteString value)
         The name of the Google Compute Engine
         [VPC network](https://cloud.google.com/vpc/docs/vpc) to which the
         instance is connected.
         
        string network = 1;
        Parameters:
        value - The bytes for network to set.
        Returns:
        This builder for chaining.
      • getModesList

        public List<NetworkConfig.AddressMode> getModesList()
         Internet protocol versions for which the instance has IP addresses
         assigned. For this version, only MODE_IPV4 is supported.
         
        repeated .google.cloud.filestore.v1.NetworkConfig.AddressMode modes = 3;
        Specified by:
        getModesList in interface NetworkConfigOrBuilder
        Returns:
        A list containing the modes.
      • getModesCount

        public int getModesCount()
         Internet protocol versions for which the instance has IP addresses
         assigned. For this version, only MODE_IPV4 is supported.
         
        repeated .google.cloud.filestore.v1.NetworkConfig.AddressMode modes = 3;
        Specified by:
        getModesCount in interface NetworkConfigOrBuilder
        Returns:
        The count of modes.
      • getModes

        public NetworkConfig.AddressMode getModes​(int index)
         Internet protocol versions for which the instance has IP addresses
         assigned. For this version, only MODE_IPV4 is supported.
         
        repeated .google.cloud.filestore.v1.NetworkConfig.AddressMode modes = 3;
        Specified by:
        getModes in interface NetworkConfigOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The modes at the given index.
      • setModes

        public NetworkConfig.Builder setModes​(int index,
                                              NetworkConfig.AddressMode value)
         Internet protocol versions for which the instance has IP addresses
         assigned. For this version, only MODE_IPV4 is supported.
         
        repeated .google.cloud.filestore.v1.NetworkConfig.AddressMode modes = 3;
        Parameters:
        index - The index to set the value at.
        value - The modes to set.
        Returns:
        This builder for chaining.
      • addModes

        public NetworkConfig.Builder addModes​(NetworkConfig.AddressMode value)
         Internet protocol versions for which the instance has IP addresses
         assigned. For this version, only MODE_IPV4 is supported.
         
        repeated .google.cloud.filestore.v1.NetworkConfig.AddressMode modes = 3;
        Parameters:
        value - The modes to add.
        Returns:
        This builder for chaining.
      • addAllModes

        public NetworkConfig.Builder addAllModes​(Iterable<? extends NetworkConfig.AddressMode> values)
         Internet protocol versions for which the instance has IP addresses
         assigned. For this version, only MODE_IPV4 is supported.
         
        repeated .google.cloud.filestore.v1.NetworkConfig.AddressMode modes = 3;
        Parameters:
        values - The modes to add.
        Returns:
        This builder for chaining.
      • clearModes

        public NetworkConfig.Builder clearModes()
         Internet protocol versions for which the instance has IP addresses
         assigned. For this version, only MODE_IPV4 is supported.
         
        repeated .google.cloud.filestore.v1.NetworkConfig.AddressMode modes = 3;
        Returns:
        This builder for chaining.
      • getModesValueList

        public List<Integer> getModesValueList()
         Internet protocol versions for which the instance has IP addresses
         assigned. For this version, only MODE_IPV4 is supported.
         
        repeated .google.cloud.filestore.v1.NetworkConfig.AddressMode modes = 3;
        Specified by:
        getModesValueList in interface NetworkConfigOrBuilder
        Returns:
        A list containing the enum numeric values on the wire for modes.
      • getModesValue

        public int getModesValue​(int index)
         Internet protocol versions for which the instance has IP addresses
         assigned. For this version, only MODE_IPV4 is supported.
         
        repeated .google.cloud.filestore.v1.NetworkConfig.AddressMode modes = 3;
        Specified by:
        getModesValue in interface NetworkConfigOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The enum numeric value on the wire of modes at the given index.
      • setModesValue

        public NetworkConfig.Builder setModesValue​(int index,
                                                   int value)
         Internet protocol versions for which the instance has IP addresses
         assigned. For this version, only MODE_IPV4 is supported.
         
        repeated .google.cloud.filestore.v1.NetworkConfig.AddressMode modes = 3;
        Parameters:
        index - The index to set the value at.
        value - The enum numeric value on the wire for modes to set.
        Returns:
        This builder for chaining.
      • addModesValue

        public NetworkConfig.Builder addModesValue​(int value)
         Internet protocol versions for which the instance has IP addresses
         assigned. For this version, only MODE_IPV4 is supported.
         
        repeated .google.cloud.filestore.v1.NetworkConfig.AddressMode modes = 3;
        Parameters:
        value - The enum numeric value on the wire for modes to add.
        Returns:
        This builder for chaining.
      • addAllModesValue

        public NetworkConfig.Builder addAllModesValue​(Iterable<Integer> values)
         Internet protocol versions for which the instance has IP addresses
         assigned. For this version, only MODE_IPV4 is supported.
         
        repeated .google.cloud.filestore.v1.NetworkConfig.AddressMode modes = 3;
        Parameters:
        values - The enum numeric values on the wire for modes to add.
        Returns:
        This builder for chaining.
      • getReservedIpRange

        public String getReservedIpRange()
         Optional, reserved_ip_range can have one of the following two types of
         values.
        
         * CIDR range value when using DIRECT_PEERING connect mode.
         * [Allocated IP address
         range](https://cloud.google.com/compute/docs/ip-addresses/reserve-static-internal-ip-address)
         when using PRIVATE_SERVICE_ACCESS connect mode.
        
         When the name of an allocated IP address range is specified, it must be one
         of the ranges associated with the private service access connection.
         When specified as a direct CIDR value, it must be a /29 CIDR block for
         Basic tier, a /24 CIDR block for High Scale tier, or a /26 CIDR block for
         Enterprise tier in one of the [internal IP address
         ranges](https://www.arin.net/reference/research/statistics/address_filters/)
         that identifies the range of IP addresses reserved for this instance. For
         example, 10.0.0.0/29, 192.168.0.0/24 or 192.168.0.0/26, respectively. The
         range you specify can't overlap with either existing subnets or assigned IP
         address ranges for other Filestore instances in the selected VPC
         network.
         
        string reserved_ip_range = 4;
        Specified by:
        getReservedIpRange in interface NetworkConfigOrBuilder
        Returns:
        The reservedIpRange.
      • getReservedIpRangeBytes

        public com.google.protobuf.ByteString getReservedIpRangeBytes()
         Optional, reserved_ip_range can have one of the following two types of
         values.
        
         * CIDR range value when using DIRECT_PEERING connect mode.
         * [Allocated IP address
         range](https://cloud.google.com/compute/docs/ip-addresses/reserve-static-internal-ip-address)
         when using PRIVATE_SERVICE_ACCESS connect mode.
        
         When the name of an allocated IP address range is specified, it must be one
         of the ranges associated with the private service access connection.
         When specified as a direct CIDR value, it must be a /29 CIDR block for
         Basic tier, a /24 CIDR block for High Scale tier, or a /26 CIDR block for
         Enterprise tier in one of the [internal IP address
         ranges](https://www.arin.net/reference/research/statistics/address_filters/)
         that identifies the range of IP addresses reserved for this instance. For
         example, 10.0.0.0/29, 192.168.0.0/24 or 192.168.0.0/26, respectively. The
         range you specify can't overlap with either existing subnets or assigned IP
         address ranges for other Filestore instances in the selected VPC
         network.
         
        string reserved_ip_range = 4;
        Specified by:
        getReservedIpRangeBytes in interface NetworkConfigOrBuilder
        Returns:
        The bytes for reservedIpRange.
      • setReservedIpRange

        public NetworkConfig.Builder setReservedIpRange​(String value)
         Optional, reserved_ip_range can have one of the following two types of
         values.
        
         * CIDR range value when using DIRECT_PEERING connect mode.
         * [Allocated IP address
         range](https://cloud.google.com/compute/docs/ip-addresses/reserve-static-internal-ip-address)
         when using PRIVATE_SERVICE_ACCESS connect mode.
        
         When the name of an allocated IP address range is specified, it must be one
         of the ranges associated with the private service access connection.
         When specified as a direct CIDR value, it must be a /29 CIDR block for
         Basic tier, a /24 CIDR block for High Scale tier, or a /26 CIDR block for
         Enterprise tier in one of the [internal IP address
         ranges](https://www.arin.net/reference/research/statistics/address_filters/)
         that identifies the range of IP addresses reserved for this instance. For
         example, 10.0.0.0/29, 192.168.0.0/24 or 192.168.0.0/26, respectively. The
         range you specify can't overlap with either existing subnets or assigned IP
         address ranges for other Filestore instances in the selected VPC
         network.
         
        string reserved_ip_range = 4;
        Parameters:
        value - The reservedIpRange to set.
        Returns:
        This builder for chaining.
      • clearReservedIpRange

        public NetworkConfig.Builder clearReservedIpRange()
         Optional, reserved_ip_range can have one of the following two types of
         values.
        
         * CIDR range value when using DIRECT_PEERING connect mode.
         * [Allocated IP address
         range](https://cloud.google.com/compute/docs/ip-addresses/reserve-static-internal-ip-address)
         when using PRIVATE_SERVICE_ACCESS connect mode.
        
         When the name of an allocated IP address range is specified, it must be one
         of the ranges associated with the private service access connection.
         When specified as a direct CIDR value, it must be a /29 CIDR block for
         Basic tier, a /24 CIDR block for High Scale tier, or a /26 CIDR block for
         Enterprise tier in one of the [internal IP address
         ranges](https://www.arin.net/reference/research/statistics/address_filters/)
         that identifies the range of IP addresses reserved for this instance. For
         example, 10.0.0.0/29, 192.168.0.0/24 or 192.168.0.0/26, respectively. The
         range you specify can't overlap with either existing subnets or assigned IP
         address ranges for other Filestore instances in the selected VPC
         network.
         
        string reserved_ip_range = 4;
        Returns:
        This builder for chaining.
      • setReservedIpRangeBytes

        public NetworkConfig.Builder setReservedIpRangeBytes​(com.google.protobuf.ByteString value)
         Optional, reserved_ip_range can have one of the following two types of
         values.
        
         * CIDR range value when using DIRECT_PEERING connect mode.
         * [Allocated IP address
         range](https://cloud.google.com/compute/docs/ip-addresses/reserve-static-internal-ip-address)
         when using PRIVATE_SERVICE_ACCESS connect mode.
        
         When the name of an allocated IP address range is specified, it must be one
         of the ranges associated with the private service access connection.
         When specified as a direct CIDR value, it must be a /29 CIDR block for
         Basic tier, a /24 CIDR block for High Scale tier, or a /26 CIDR block for
         Enterprise tier in one of the [internal IP address
         ranges](https://www.arin.net/reference/research/statistics/address_filters/)
         that identifies the range of IP addresses reserved for this instance. For
         example, 10.0.0.0/29, 192.168.0.0/24 or 192.168.0.0/26, respectively. The
         range you specify can't overlap with either existing subnets or assigned IP
         address ranges for other Filestore instances in the selected VPC
         network.
         
        string reserved_ip_range = 4;
        Parameters:
        value - The bytes for reservedIpRange to set.
        Returns:
        This builder for chaining.
      • getIpAddressesList

        public com.google.protobuf.ProtocolStringList getIpAddressesList()
         Output only. IPv4 addresses in the format
         `{octet1}.{octet2}.{octet3}.{octet4}` or IPv6 addresses in the format
         `{block1}:{block2}:{block3}:{block4}:{block5}:{block6}:{block7}:{block8}`.
         
        repeated string ip_addresses = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getIpAddressesList in interface NetworkConfigOrBuilder
        Returns:
        A list containing the ipAddresses.
      • getIpAddressesCount

        public int getIpAddressesCount()
         Output only. IPv4 addresses in the format
         `{octet1}.{octet2}.{octet3}.{octet4}` or IPv6 addresses in the format
         `{block1}:{block2}:{block3}:{block4}:{block5}:{block6}:{block7}:{block8}`.
         
        repeated string ip_addresses = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getIpAddressesCount in interface NetworkConfigOrBuilder
        Returns:
        The count of ipAddresses.
      • getIpAddresses

        public String getIpAddresses​(int index)
         Output only. IPv4 addresses in the format
         `{octet1}.{octet2}.{octet3}.{octet4}` or IPv6 addresses in the format
         `{block1}:{block2}:{block3}:{block4}:{block5}:{block6}:{block7}:{block8}`.
         
        repeated string ip_addresses = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getIpAddresses in interface NetworkConfigOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The ipAddresses at the given index.
      • getIpAddressesBytes

        public com.google.protobuf.ByteString getIpAddressesBytes​(int index)
         Output only. IPv4 addresses in the format
         `{octet1}.{octet2}.{octet3}.{octet4}` or IPv6 addresses in the format
         `{block1}:{block2}:{block3}:{block4}:{block5}:{block6}:{block7}:{block8}`.
         
        repeated string ip_addresses = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getIpAddressesBytes in interface NetworkConfigOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the ipAddresses at the given index.
      • setIpAddresses

        public NetworkConfig.Builder setIpAddresses​(int index,
                                                    String value)
         Output only. IPv4 addresses in the format
         `{octet1}.{octet2}.{octet3}.{octet4}` or IPv6 addresses in the format
         `{block1}:{block2}:{block3}:{block4}:{block5}:{block6}:{block7}:{block8}`.
         
        repeated string ip_addresses = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        index - The index to set the value at.
        value - The ipAddresses to set.
        Returns:
        This builder for chaining.
      • addIpAddresses

        public NetworkConfig.Builder addIpAddresses​(String value)
         Output only. IPv4 addresses in the format
         `{octet1}.{octet2}.{octet3}.{octet4}` or IPv6 addresses in the format
         `{block1}:{block2}:{block3}:{block4}:{block5}:{block6}:{block7}:{block8}`.
         
        repeated string ip_addresses = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The ipAddresses to add.
        Returns:
        This builder for chaining.
      • addAllIpAddresses

        public NetworkConfig.Builder addAllIpAddresses​(Iterable<String> values)
         Output only. IPv4 addresses in the format
         `{octet1}.{octet2}.{octet3}.{octet4}` or IPv6 addresses in the format
         `{block1}:{block2}:{block3}:{block4}:{block5}:{block6}:{block7}:{block8}`.
         
        repeated string ip_addresses = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        values - The ipAddresses to add.
        Returns:
        This builder for chaining.
      • clearIpAddresses

        public NetworkConfig.Builder clearIpAddresses()
         Output only. IPv4 addresses in the format
         `{octet1}.{octet2}.{octet3}.{octet4}` or IPv6 addresses in the format
         `{block1}:{block2}:{block3}:{block4}:{block5}:{block6}:{block7}:{block8}`.
         
        repeated string ip_addresses = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • addIpAddressesBytes

        public NetworkConfig.Builder addIpAddressesBytes​(com.google.protobuf.ByteString value)
         Output only. IPv4 addresses in the format
         `{octet1}.{octet2}.{octet3}.{octet4}` or IPv6 addresses in the format
         `{block1}:{block2}:{block3}:{block4}:{block5}:{block6}:{block7}:{block8}`.
         
        repeated string ip_addresses = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes of the ipAddresses to add.
        Returns:
        This builder for chaining.
      • getConnectModeValue

        public int getConnectModeValue()
         The network connect mode of the Filestore instance.
         If not provided, the connect mode defaults to DIRECT_PEERING.
         
        .google.cloud.filestore.v1.NetworkConfig.ConnectMode connect_mode = 6;
        Specified by:
        getConnectModeValue in interface NetworkConfigOrBuilder
        Returns:
        The enum numeric value on the wire for connectMode.
      • setConnectModeValue

        public NetworkConfig.Builder setConnectModeValue​(int value)
         The network connect mode of the Filestore instance.
         If not provided, the connect mode defaults to DIRECT_PEERING.
         
        .google.cloud.filestore.v1.NetworkConfig.ConnectMode connect_mode = 6;
        Parameters:
        value - The enum numeric value on the wire for connectMode to set.
        Returns:
        This builder for chaining.
      • getConnectMode

        public NetworkConfig.ConnectMode getConnectMode()
         The network connect mode of the Filestore instance.
         If not provided, the connect mode defaults to DIRECT_PEERING.
         
        .google.cloud.filestore.v1.NetworkConfig.ConnectMode connect_mode = 6;
        Specified by:
        getConnectMode in interface NetworkConfigOrBuilder
        Returns:
        The connectMode.
      • setConnectMode

        public NetworkConfig.Builder setConnectMode​(NetworkConfig.ConnectMode value)
         The network connect mode of the Filestore instance.
         If not provided, the connect mode defaults to DIRECT_PEERING.
         
        .google.cloud.filestore.v1.NetworkConfig.ConnectMode connect_mode = 6;
        Parameters:
        value - The connectMode to set.
        Returns:
        This builder for chaining.
      • clearConnectMode

        public NetworkConfig.Builder clearConnectMode()
         The network connect mode of the Filestore instance.
         If not provided, the connect mode defaults to DIRECT_PEERING.
         
        .google.cloud.filestore.v1.NetworkConfig.ConnectMode connect_mode = 6;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final NetworkConfig.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder>
      • mergeUnknownFields

        public final NetworkConfig.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder>