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

    if (!getTypeClass().equals(other.getTypeClass())) return false;
    if (hasTypeDescriptor() != other.hasTypeDescriptor()) return false;
    if (hasTypeDescriptor()) {
      if (!getTypeDescriptor().equals(other.getTypeDescriptor())) return false;
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
The type descriptor.
</pre>

<code>.google.cloud.visionai.v1.PacketType.TypeDescriptor type_descriptor = 2;</code>
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/PacketType.java