@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();
    }
@ 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 ( ) ; }
Converts {@link EntryType} to {@link com.linecorp.centraldogma.common.EntryType}.