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

      if (resourceType_ != other.resourceType_) return false;
      if (!getResourceId().equals(other.getResourceId())) return false;
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }
<pre>
Required. The ID of the Google Drive resource.
</pre>

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

@return The bytes for resourceId.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GoogleDriveSource.java