@java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.cloud.vmwareengine.v1.UpdateSubnetRequest)) {
      return super.equals(obj);
    }
    com.google.cloud.vmwareengine.v1.UpdateSubnetRequest other =
        (com.google.cloud.vmwareengine.v1.UpdateSubnetRequest) obj;

    if (hasUpdateMask() != other.hasUpdateMask()) return false;
    if (hasUpdateMask()) {
      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
    }
    if (hasSubnet() != other.hasSubnet()) return false;
    if (hasSubnet()) {
      if (!getSubnet().equals(other.getSubnet())) return false;
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Required. Subnet description.
</pre>

<code>
.google.cloud.vmwareengine.v1.Subnet subnet = 2 [(.google.api.field_behavior) = REQUIRED];
</code>
java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/UpdateSubnetRequest.java