public Builder setDisablePublicIpAddresses(boolean value) {

          disablePublicIpAddresses_ = value;
          bitField0_ |= 0x00000040;
          onChanged();
          return this;
        }
<pre>
Optional. When set to true, disables public IP addresses for VMs. If
you disable public IP addresses, you must set up Private Google Access
or Cloud NAT on your network. If you use Private Google Access and you
use `private.googleapis.com` or `restricted.googleapis.com` for
Container Registry and Artifact Registry, make sure that you set
up DNS records for domains `*.gcr.io` and `*.pkg.dev`.
Defaults to false (VMs have public IP addresses).
</pre>

<code>bool disable_public_ip_addresses = 6 [(.google.api.field_behavior) = OPTIONAL];
</code>

@param value The disablePublicIpAddresses to set.
@return This builder for chaining.
java-workstations/proto-google-cloud-workstations-v1/src/main/java/com/google/cloud/workstations/v1/WorkstationConfig.java