code: static String getFileClassName(FileDescriptorProto file, ProtoFlavor flavor) {
      switch (flavor) {
        case PROTO2:
          return getFileImmutableClassName(file);
        default:
          throw new AssertionError();
      }
    }
docs: Derives the outer class name based on the protobuf (.proto) file name.