public boolean hasSubnet() {
      return ((bitField0_ & 0x00000080) != 0);
    }
<pre>
The subnet in which to house the VPC Access Connector.
</pre>

<code>.google.cloud.vpcaccess.v1.Connector.Subnet subnet = 8;</code>

@return Whether the subnet field is set.
java-vpcaccess/proto-google-cloud-vpcaccess-v1/src/main/java/com/google/cloud/vpcaccess/v1/Connector.java