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

    if (!getParent().equals(other.getParent())) return false;
    if (hasSearchConfig() != other.hasSearchConfig()) return false;
    if (hasSearchConfig()) {
      if (!getSearchConfig().equals(other.getSearchConfig())) return false;
    }
    if (!getSearchConfigId().equals(other.getSearchConfigId())) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Required. ID to use for the new search config. Will become the final
component of the SearchConfig's resource name. This value should be up to
63 characters, and valid characters are /[a-z][0-9]-_/. The first character
must be a letter, the last could be a letter or a number.
</pre>

<code>string search_config_id = 3 [(.google.api.field_behavior) = REQUIRED];</code>

@return The bytes for searchConfigId.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/CreateSearchConfigRequest.java