docs: @Nullable
      public static com.linecorp.centraldogma.common.EntryType convertEntryType(EntryType type) {
          if (type == null) {
              return null;
          }
  
          switch (type) {
              case JSON:
                  return com.linecorp.centraldogma.common.EntryType.JSON;
              case TEXT:
                  return com.linecorp.centraldogma.common.EntryType.TEXT;
              case DIRECTORY:
                  return com.linecorp.centraldogma.common.EntryType.DIRECTORY;
          }
  
          throw new Error();
      }