code: public static String getCaseEnumClassName(Descriptors.OneofDescriptor oneOfDescriptor) {
      return getClassName(oneOfDescriptor.getContainingType())
          + '$'
          + underscoresToCamelCase(oneOfDescriptor.getName(), true)
          + "Case";
    }
docs: Returns the class name for the enum descriptor (uses '$' inner class seperator).