public static ResourceType forNumber(int value) {
        switch (value) {
          case 0:
            return RESOURCE_TYPE_UNSPECIFIED;
          case 1:
            return RESOURCE_TYPE_FILE;
          case 2:
            return RESOURCE_TYPE_FOLDER;
          default:
            return null;
        }
      }
@param value The numeric wire value of the corresponding enum entry.
@return The enum associated with the given numeric wire value.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GoogleDriveSource.java