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

    if (!getName().equals(other.getName())) return false;
    if (hasCreateTime() != other.hasCreateTime()) return false;
    if (hasCreateTime()) {
      if (!getCreateTime().equals(other.getCreateTime())) return false;
    }
    if (hasUpdateTime() != other.hasUpdateTime()) return false;
    if (hasUpdateTime()) {
      if (!getUpdateTime().equals(other.getUpdateTime())) return false;
    }
    if (!getDescription().equals(other.getDescription())) return false;
    if (getPriority() != other.getPriority()) return false;
    if (action_ != other.action_) return false;
    if (!getIpProtocol().equals(other.getIpProtocol())) return false;
    if (!getSourceIpRangesList().equals(other.getSourceIpRangesList())) return false;
    if (!getSourcePortsList().equals(other.getSourcePortsList())) return false;
    if (!getDestinationIpRangesList().equals(other.getDestinationIpRangesList())) return false;
    if (!getDestinationPortsList().equals(other.getDestinationPortsList())) return false;
    if (state_ != other.state_) return false;
    if (!getUid().equals(other.getUid())) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Output only. System-generated unique identifier for the resource.
</pre>

<code>string uid = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>

@return The bytes for uid.
java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/ExternalAccessRule.java